hipStreamGetDevice

Function hipStreamGetDevice 

Source
pub unsafe extern "C" fn hipStreamGetDevice(
    stream: hipStream_t,
    device: *mut hipDevice_t,
) -> hipError_t
Expand description

@brief Gets the device associated with the stream.

@param[in] stream Stream to be queried @param[out] device Device associated with the stream @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorContextIsDestroyed, #hipErrorInvalidHandle, #hipErrorNotInitialized, #hipErrorDeinitialized, #hipErrorInvalidContext

@see hipStreamCreate, hipStreamDestroy, hipDeviceGetStreamPriorityRange