-
Notifications
You must be signed in to change notification settings - Fork 14.4k
[clang][SYCL] Add sycl_external attribute and restrict emitting device code #140282
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
Open
schittir
wants to merge
38
commits into
llvm:main
Choose a base branch
from
schittir:sycl_external
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+551
−344
Open
Changes from 20 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
abdbf89
Add sycl_external attribute
schittir f631d7a
Fix test and remove space
schittir 128ab1b
Address review comments #1
schittir 118656c
Fix conditional and failing tests
schittir 7c592a4
Fix the remaining six failing tests
schittir 90ead01
Fix formatting
schittir 195a3cc
Merge branch 'main' into sycl_external
schittir a0071d1
Remove sycl_external attribute support to variables.
schittir d20382c
Rename test file
schittir 65262ba
Add tests for sycl_external attribute
schittir 770c65e
Add code examples to sycl_external documentation
schittir 328d242
Merge branch 'main' into sycl_external
schittir aab6f7d
Update clang/lib/Sema/SemaDeclAttr.cpp
schittir 385ea37
Address review comments -2
schittir be80436
Address review comments -3
schittir 060b24f
Rename test file
schittir 625cff2
Address review comments -4
schittir a9fe3fb
Merge branch 'main' into sycl_external
schittir 4eb05b8
Fix failing tests and address review comments
schittir ab845a2
Address review comments -3
schittir 3ff689e
Merge branch 'main' into sycl_external
schittir a177b9b
Merge branch 'main' into sycl_external
schittir 58ffb64
Merge branch 'main' into sycl_external
schittir 7893e90
Merge branch 'main' into sycl_external
schittir 7e76afd
Change the second RUN line to use -sycl-is-host
schittir e8d26a2
Switch to using sycl_external attr to pass the failing test
schittir 82fa98a
Change diagnostic messages
schittir e4d15eb
Revert RUN line to -fsycl-is-device
schittir b38e578
Revert test change
schittir 1d82fc1
Merge branch 'main' into sycl_external
schittir d751b43
Fix conflict resolution errors.
schittir 2b22ed2
Remove changes introduced from downstream.
schittir 1b3a198
Update diagnostic messages in tests
schittir 568b569
Undo more downstream changes
schittir 0ab9ac5
Ungroup diagnostics and add test cases
schittir 19d1660
Merge branch 'main' into sycl_external
schittir a70e2df
Fix newly failing tests by adding sycl_external attribute
schittir 45f7b09
Add constexpr and consteval test cases
schittir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.