cubecl_hip_sys

Function hipDeviceGetByPCIBusId

Source
pub unsafe extern "C" fn hipDeviceGetByPCIBusId(
    device: *mut c_int,
    pciBusId: *const c_char,
) -> hipError_t
Expand description

@brief Returns a handle to a compute device. @param [out] device The handle of the device @param [in] pciBusId The string of PCI Bus Id for the device

@returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue