cuda.bindings._v2.driver.stream_get_flags#
- cuda.bindings._v2.driver.stream_get_flags(intptr_t h_stream) unsigned int#
Query the flags of a given stream.
Query the flags of a stream created using
cuStreamCreate,cuStreamCreateWithPriorityorcuGreenCtxStreamCreateand return the flags inflags.- Parameters:
h_stream (intptr_t) – Handle to the stream to be queried.
- Returns:
- Pointer to an unsigned integer in which the stream’s
flags are returned The value returned in
flagsis a logical ‘OR’ of all flags that were used while creating this stream. SeecuStreamCreatefor the list of valid flags.
- Return type:
unsigned int
See also
cuStreamGetFlags