-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Added a memory::type_t enum value, `non_cuda`, for memory not allocated by CUDA * `memory::type_of()` will no longer fail for non-CUDA-allocated memory * `copy_parameters_t<N>` is not out of `detail_`. * The `endpoint_t` enum is now also out of `detail_` * Beefed up `copy_parameters_t<N>` with additional convenience methods *`copy_parameters_t<N>` now "recognizes" non-CUDA-allocated memory, treating it like CUDA host memory * Our array-to-raw-mem copy function now determines the destination address' context * Add an array-to-raw-mem copy function which takes the destination context explicitly
- Loading branch information
Showing
7 changed files
with
695 additions
and
229 deletions.
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
Oops, something went wrong.