cuda::experimental::stf::decorated_stream#
-
struct decorated_stream#
A class to store a CUDA stream along with a few information to avoid CUDA queries.
It contains
the stream itself,
a unique id (proper to CUDASTF, and only valid for streams in our pool, or equal to -1),
the pool associated to the unique ID, when valid
the device index in which the stream is
Public Functions
- inline decorated_stream(
- cudaStream_t stream = nullptr,
- ::std::ptrdiff_t id = -1,
- int dev_id = -1,