-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Add the remaining diagnostics to device_global implementation #5810
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
Merged
steffenlarsen
merged 37 commits into
intel:sycl
from
schittir:device_global_diagnostics
Aug 30, 2022
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1eaf97d
More diagnostic work
schittir 8481087
Merge remote-tracking branch 'intel_llvm_remote/sycl' into device_glo…
schittir d472f02
Merge remote-tracking branch 'intel_llvm_remote/sycl' into device_glo…
schittir 8e7011a
Fix typo
schittir 03d63d0
Merge remote-tracking branch 'intel_llvm_remote/sycl' into device_glo…
schittir 56ab01d
device_global inside a method
schittir f28af3e
Fix format and add test cases
schittir f1412c2
Fix format
schittir 6155a23
Add TODO cases
schittir 9a53449
Fix format, address comments
schittir 0b529a2
Address some comments
schittir cbdfe33
Fix lint
schittir 58db09e
Lint again
schittir 1c3ef52
Address more comments
schittir f183565
Fix bug in diagnosing private device_global
schittir faeb23d
Remove wrong diagnostic
schittir 36fc259
Change error message and move call to add vardecl
schittir 9fefb21
Fix failing case and change the error message
schittir ec196b5
Add check for global_variable_allowed attribute
schittir f89b641
Attempting to fix test conflict
schittir 9b8893e
Added separate structure for type decorated with global_variable_allowed
schittir 15dd595
Remove needless type and check for global_variable_allowed
schittir 7b120e5
Merge remote-tracking branch 'intel_llvm_remote/sycl' into device_glo…
schittir 736c0ee
Remove cl:: from test case
schittir 9f1e649
Add diagnostic for device_global array and change comment in test
schittir 6fd721b
Simplify array element type checking per comments
schittir 48cf937
Merge remote-tracking branch 'intel_llvm_remote/sycl' into device_glo…
schittir 9874230
Address code-style comments
schittir 6092803
Add diagnostic for private var and testcase for template class
schittir c522f53
Check that diagnostics are emitted when function is instantiated
schittir 8a01ce7
Remove return nullptr to diagnose properly
schittir 35e6208
Add instantiation call for templFoo()
schittir 153a5eb
Drop Var->isLocalVarDeclOrParm() check; add Var->getAccess()!= AS_public
schittir 1c19715
Remove templFoo<int> specialization case
schittir f398bfb
Diagnose when device_global is a protected member of a class
schittir f45a351
Remove space for uniformity
schittir 0377ef9
Change check for protected device_global members
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
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.