legate::cuda::StreamView#
-
class StreamView#
A simple wrapper around CUDA streams to inject auxiliary features.
- Deprecated:
since 24.11: please provide your own implementation of this class
When
LEGATE_SYNC_STREAM_VIEWis set to 1, everyStreamViewsynchronizes the CUDA stream that it wraps when it is destroyed.Public Functions
-
inline explicit StreamView(CUstream stream)#
Creates a
StreamViewwith a raw CUDA stream.- Deprecated:
since 24.11: please provide your own implementation of this class
- Parameters:
stream – Raw CUDA stream to wrap
-
inline operator CUstream() const#
Unwraps the raw CUDA stream.
- Deprecated:
since 24.11: please provide your own implementation of this class
- Returns:
Raw CUDA stream wrapped by the
StreamView