Expand description
CUDA stream management.
Implements the CUDA Runtime stream API:
cudaStreamCreate/cudaStreamCreateWithFlags/cudaStreamCreateWithPrioritycudaStreamDestroycudaStreamSynchronizecudaStreamQuerycudaStreamWaitEventcudaStreamGetPrioritycudaStreamGetFlagscudaStreamGetDevice- The default stream (
cudaStreamDefault/cudaStreamLegacy/cudaStreamPerThread)
Structs§
- Cuda
Stream - A CUDA stream handle.
- Stream
Flags - Flags for stream creation.
Functions§
- stream_
create - Create a new CUDA stream with default flags.
- stream_
create_ with_ flags - Create a new CUDA stream with the given flags.
- stream_
create_ with_ priority - Create a new CUDA stream with the given flags and scheduling priority.
- stream_
destroy - Destroy a CUDA stream.
- stream_
get_ flags - Returns the flags of
stream. - stream_
get_ priority - Returns the priority of
stream. - stream_
query - Check whether all preceding operations in
streamhave completed. - stream_
synchronize - Wait until all preceding operations in
streamcomplete. - stream_
wait_ event - Make all future work submitted to
streamwait untileventis recorded.