-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add stream wrapper type * Update changelog * Fix style * Fix stream namespace in benchmark * Apply suggestions from code review Co-authored-by: Mark Harris <[email protected]> * Rename stream_t to stream_view * Add explicit conversion from stream_view to uintptr_t * Add get_default_stream * Rename stream_view to cuda_stream_view * Revise documentation * Add test for set_default_stream * Rename stream.hpp to cuda_stream_view.hpp * Fix merge * Fixes for stream view on recent classes * Changelog for #608 * Use cudaStreamLegacy and friends directly (not wrapped) * Move cuda_stream_view.hpp out of detail folder * Make stream view as constexpr and noexcept as possible * Fix device_buffer to use cuda_stream_view * Fix device_scalar constructor to use cuda_stream_view * Add cuda_stream owning wrapper * Update tests to use cuda_stream * Remove extra include * Remove explicit references to stream "0" * Use unique_ptr to allow cuda_stream rule of zero * default and constexpr all the things in cuda_stream_view * Remove get/set_default_resource until needed. * Explicit cudaStreamDefault * No need to delete copy ctor/operator= * Simplify defaults * Remove changelog entry from old PR * Add cuda_stream_view::synchronize() * Add rmm_log.txt to .gitignore * cuda_stream_view Cython * Fix isort * Lots of cleanup of stream classes and tests (C++) * Rename .cu -> .cpp * Cython CudaStreamView constructor and doc cleanup * Fix isort * Fix cast * Implement operator!= in terms of operator== Co-authored-by: Jake Hemstad <[email protected]> * Improve CudaStreamView docs Co-authored-by: Ashwin Srinath <[email protected]> * Clean up PTDS * Explicitly delete copy ctor / assignment * More cython streamlining * Python docs and style * Disallow implicit conversion to cudaStream_t * clean up casting in logs * Add new and missing headers to meta.yml * Update python/rmm/_lib/device_buffer.pyx Co-authored-by: Keith Kraus <[email protected]> * Update python/rmm/_lib/device_buffer.pyx Co-authored-by: Keith Kraus <[email protected]> * Update python/rmm/_lib/device_buffer.pyx Co-authored-by: Keith Kraus <[email protected]> * Update python/rmm/_lib/device_buffer.pyx Co-authored-by: Keith Kraus <[email protected]> * Update docs to use `cuda_stream_view` * Delete the stream... * Replace missed cudaStream_t parameters in device_uvector * More missed cudaStream_t * Replace cudaStream_t in multithreaded tests. * No need to call get() * Remove const& from stream view params * Combine is_default and is_legacy_default. * except * * style * Remove uses of `cudaStreamDefault` as a stream handle * Use cuda_stream_view in replay benchmark and simplify logging_resource_adaptor. Co-authored-by: Trevor Smith <[email protected]> Co-authored-by: Jake Hemstad <[email protected]> Co-authored-by: Ashwin Srinath <[email protected]> Co-authored-by: Keith Kraus <[email protected]>
- Loading branch information
1 parent
210c863
commit 9b32765
Showing
42 changed files
with
841 additions
and
384 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,3 +144,6 @@ ENV/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# RMM log files | ||
rmm_log.txt |
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.