Skip to main content

hipStreamGetId

Function hipStreamGetId 

Source
pub unsafe extern "C" fn hipStreamGetId(
    stream: hipStream_t,
    streamId: *mut c_ulonglong,
) -> hipError_t
Expand description

@brief Queries the Id of a stream.

@param[in] stream Stream to be queried @param[in,out] flags Pointer to an unsigned long long in which the stream’s id is returned @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidHandle.

@see hipStreamCreateWithFlags, hipStreamGetFlags, hipStreamCreateWithPriority, hipStreamGetPriority