|
Template Numerical Library version\ main:7388705
|
Public Member Functions | |
| Stream ()=default | |
| Constructs a stream wrapping the CUDA 0 (NULL) stream. | |
| Stream (const Stream &other)=default | |
| Default copy-constructor. | |
| Stream (Stream &&other) noexcept=default | |
| Default move-constructor. | |
| operator const stream_t & () const | |
| Access the CUDA stream handle associated with this object. | |
| Stream & | operator= (const Stream &other)=default |
| Default copy-assignment operator. | |
| Stream & | operator= (Stream &&other) noexcept=default |
| Default move-assignment operator. | |
Static Public Member Functions | |
| static Stream | create (unsigned int flags=StreamDefault, int priority=0) |
| Creates a new stream. | |
|
inlinestatic |
Creates a new stream.
The stream is created by calling cudaStreamCreateWithPriority with the following parameters:
| flags | Custom flags for stream creation. Possible values are:
|
| priority | Priority of the stream. Lower numbers represent higher priorities. See cudaDeviceGetStreamPriorityRange for more information about the meaningful stream priorities that can be passed. |
|
inline |
Access the CUDA stream handle associated with this object.
This routine permits the implicit conversion from Stream to stream_t.