cubecl_hip_sys

Function hipGetStreamDeviceId

Source
pub unsafe extern "C" fn hipGetStreamDeviceId(
    stream: hipStream_t,
) -> c_int
Expand description

@brief Returns device ID on the stream.

@param [in] stream Stream of device executed on.

@returns #hipSuccess, #hipErrorInvalidValue