cubecl_hip_sys

Function hipDeviceGetPCIBusId

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

@brief Returns a PCI Bus Id string for the device, overloaded to take int device ID. @param [out] pciBusId The string of PCI Bus Id format for the device @param [in] len Maximum length of string @param [in] device The device ordinal

@returns #hipSuccess, #hipErrorInvalidDevice