-
Notifications
You must be signed in to change notification settings - Fork 30
Support peer access DPC++ extension #2077
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 all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
59d6646
Implement dpctl.SyclDevice peer access
ndgrigorian 7d2d20f
Add backend validation for peer access
ndgrigorian fc50e3b
Directly use `get_backend()` from sycl_device
ndgrigorian e08c2c9
Tweak docstrings
ndgrigorian 3af91a8
Simplify logic checking backends for peer access
ndgrigorian dfca713
link method for disabling peer access to enabling method
ndgrigorian bdfee1b
Fix copy paste errors in peer device interface header
ndgrigorian 4b3e9f1
Clarify which device has invalid backend in peer_access methods
ndgrigorian a21d585
Use ostringstream to output backend names instead of integers
ndgrigorian b8c899e
Use ostringstream in kernel bundle interface
ndgrigorian bb1f1d9
Adds Python tests for peer_access methods
ndgrigorian 7106845
parametrize test_peer_device_arg_validation
ndgrigorian 8563cb0
Factor out peer access validation
ndgrigorian 9e7031e
Factor common code out of C-API peer access functions
ndgrigorian da45cdb
Add C-API tests for peer access functions
ndgrigorian ba7222f
Add check that backend types are the same in _CallPeerAccess
ndgrigorian 417889d
Inline _CallPeerAccess helper function
ndgrigorian 59377b4
Inline _check_peer_access helper function
ndgrigorian 09a1ef6
Clean up peer access functions in libsyclinterface
ndgrigorian eff82ba
Add helper for raising more specific errors in peer access methods
ndgrigorian 2fe0c96
Add tests for dpctl peer access enum helper utilities
ndgrigorian c76b521
Add an additional libsyclinterface test for peer access to self
ndgrigorian 629a4b4
Adds a Python test for peer access to self raising ValueError
ndgrigorian 101366f
Fix typo in peer access tests
ndgrigorian 178ce96
Change peer access test description
ndgrigorian 321582f
Fix a typo
ndgrigorian 56bd37f
Refactor separate can_access_peer methods into a single method
ndgrigorian 6a34d74
Update docstring of `can_access_peer`
ndgrigorian 7317df9
Further tweak `can_access_peer` docstring
ndgrigorian 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
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.