-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
Implement interface for data transfer across GPU devices. #2308
Merged
Merged
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
3d5d849
Adding new `get_device` method to return a CUDA device with particular
codetalker7 f720d5f
Adding an `adapt` function for `AbstractArray` to handle movement across
codetalker7 40e085c
Making the `get_device` interface simpler, and some minor changes.
codetalker7 652bf95
Adding CPU option to `get_device`.
codetalker7 b3cd292
Removing `KernelAbstractions` from deps.
codetalker7 9925c5b
Adding new `get_device` method to return a particular AMD device.
codetalker7 df577f3
Adding new `adapt_storage` function for moving arrays. Also passing
codetalker7 8aa7eed
Moving relevant function definitions to extensions.
codetalker7 f137080
Making `_metal` accept an ordinal.
codetalker7 ef265eb
Adding new `get_device` method to return particular Metal device.
codetalker7 3fbb4f5
Adding new `adapt_storage` method for metal arrays.
codetalker7 2c6bc55
Fixing minor error.
codetalker7 829dcfa
Fixing minor error and spelling mistake.
codetalker7 930d29c
Fixing package name: `AMDGPU` instead of `AMD`.
codetalker7 fedee3b
Reverting back to old metal functionality.
codetalker7 a4449f8
Adding tests for moving models between CPU and NVIDIA devices.
codetalker7 2a14650
Adding tests for data movement on AMD devices.
codetalker7 a9fb328
Fixing index error while choosing AMD gpu device.
codetalker7 91a756f
Fixing AMD ordinal starting index.
codetalker7 a9f6615
Adding docstring for new `get_device` method.
codetalker7 b47a6f4
Removing global name conflicts in tests.
codetalker7 f1ab569
Minor fix to AMDs device id tests.
codetalker7 129a0b5
Disambiguating test variables.
codetalker7 7a5b847
Adding more info in docstring of `get_device`, and writing some
codetalker7 1b770bc
Fixing minor error in AMD code.
codetalker7 8c09485
Fixing yet another ordinal index error in AMD code.
codetalker7 e367598
Fixing another ordinal index error in AMD code.
codetalker7 08b1962
Fixing spelling mistake.
codetalker7 0063bc0
Replacing type checks for `nothing` but equality checks.
codetalker7 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 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 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 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 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 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 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 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 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.