Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL] Improve is_compatible #9769

Merged
merged 10 commits into from
Jun 14, 2023

Conversation

KornevNikita
Copy link
Contributor

@KornevNikita KornevNikita commented Jun 7, 2023

Modify is_compatible to check if specific target is defined with -fsycl-targets and change the result. Previously there was a situation when kernel is compatible with the device by aspects, but actually it fails to run on this device as it was compiled for another target device.

Related spec change: KhronosGroup/SYCL-Docs#381

Resolves #7561

Modify is_compatible to check if specific target defined with
-fsycl-targets and change the result. Previously there was a situation
when kernel is compatible with the device by aspects, but actually it
fails to run on this device as it was compiled for another target
device.

KhronosGroup/SYCL-Docs#381
@KornevNikita KornevNikita requested a review from a team as a code owner June 7, 2023 12:16
@KornevNikita KornevNikita linked an issue Jun 7, 2023 that may be closed by this pull request
@KornevNikita KornevNikita temporarily deployed to aws June 7, 2023 14:52 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 7, 2023 18:18 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 7, 2023 19:28 — with GitHub Actions Inactive
@KornevNikita KornevNikita changed the title [WIP][SYCL] Improve is_compatible [SYCL] Improve is_compatible Jun 9, 2023
@KornevNikita KornevNikita temporarily deployed to aws June 12, 2023 16:11 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 12, 2023 18:15 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 12, 2023 19:38 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 13, 2023 13:08 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 13, 2023 14:26 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 13, 2023 15:42 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 14, 2023 08:24 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 14, 2023 09:14 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 14, 2023 10:27 — with GitHub Actions Inactive
@KornevNikita KornevNikita temporarily deployed to aws June 14, 2023 11:07 — with GitHub Actions Inactive
fineg74 pushed a commit to fineg74/llvm that referenced this pull request Jun 15, 2023
Modify `is_compatible` to check if specific target is defined with
`-fsycl-targets` and change the result. Previously there was a situation
when kernel is compatible with the device by aspects, but actually it
fails to run on this device as it was compiled for another target
device.

Related spec change: KhronosGroup/SYCL-Docs#381

Resolves intel#7561
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sycl::is_compatible is currently not very useful
4 participants