Skip to main content

cudaStreamGetFlags

Function cudaStreamGetFlags 

Source
pub unsafe extern "C" fn cudaStreamGetFlags(
    hStream: cudaStream_t,
    flags: *mut c_uint,
) -> cudaError_t
Expand description

Query the flags of a stream.

Query the flags of a stream. The flags are returned in flags. See cudaStreamCreateWithFlags for a list of valid flags.

§Parameters

  • hStream: Handle to the stream to be queried.
  • flags: Pointer to an unsigned integer in which the stream’s flags are returned.