Function hip_runtime_sys::hipDeviceGetByPCIBusId
source · pub unsafe extern "C" fn hipDeviceGetByPCIBusId(
device: *mut c_int,
pciBusId: *const c_char
) -> hipError_tExpand description
@brief Returns a handle to a compute device. @param [out] device handle @param [in] PCI Bus ID
@returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue