-
Notifications
You must be signed in to change notification settings - Fork 798
[SYCL][RTC] Initial support for device globals #16565
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
Merged
Changes from 27 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
862c187
[SYCL][RTC] Initial support for device globals
jopperm e4ef41c
Add `ext_oneapi_has_device_global`.
jopperm d45415d
Add get_address, get_size, and attempt to design a copy-API.
jopperm e6d205b
Add symbols to dump (linux only for now)
jopperm 4d0d08d
Drop proposed copy methods on kernel_bundle
jopperm 03c24ca
Add proper device check
jopperm 00dd1b2
Return USM pointer from ext_oneapi_get_device_global_address
jopperm 1aaa3b8
Add missing methods on kernel_bundle
jopperm 4b7dd5c
Add test for device_image_scope globals.
jopperm 1f57684
Windows symbols
jopperm afba729
Move device global tests to separate file and mark unsupported on ope…
jopperm d1177c8
Bump sycl.hpp counter for added RTC test.
jopperm e96e7e0
Use bundle's context for adhoc queue.
jopperm 5c529aa
Merge remote-tracking branch 'upstream/sycl' into rtc-devglobs
jopperm dd081f6
Fix unused variable in structured bindings for old GCC
jopperm e5df76d
Use unordered set
jopperm 104123e
Merge remote-tracking branch 'upstream/sycl' into rtc-devglobs
jopperm 880b5ad
Bump sycl.hpp counter again
jopperm a8868fb
Address feedback.
jopperm 7ec7639
Merge remote-tracking branch 'upstream/sycl' into rtc-devglobs
jopperm e2e0cc7
Update REQUIRES and UNSUPPORTED tags in test
jopperm 2ea6266
Merge remote-tracking branch 'upstream/sycl' into rtc-devglobs
jopperm 6409766
Untangle destruction of device global map entries
jopperm ae8f617
Merge remote-tracking branch 'upstream/sycl' into rtc-devglobs
jopperm 92dce3d
Drop device from queries
jopperm 265eee1
Revert format change
jopperm a0ab174
Windows symbols
jopperm 62d223b
Update sycl/test/e2e_test_requirements/no_sycl_hpp_in_e2e_tests.cpp
jopperm 1be7568
Fail a bit earlier and more consistently
jopperm 46261f0
Merge remote-tracking branch 'upstream/sycl' into rtc-devglobs
jopperm 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we currently check this part?
Would that enable an early return, avoiding the linear search?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A non-RTC bundle would just have an empty list of names, so the linear search isn't really a problem, but we can at least detect that before doing the string operations (and map lookups in case of kernels); see 1be7568.