pub unsafe extern "C" fn cuDeviceGetByPCIBusId(
dev: *mut CUdevice,
pciBusId: *const c_char,
) -> CUresult
Expand description
\brief Returns a handle to a compute device
Returns in \p *device a device handle given a PCI bus ID string.
\param dev - Returned device handle
\param pciBusId - String in one of the following forms: [domain]:[bus]:[device].[function] [domain]:[bus]:[device] [bus]:[device].[function] where \p domain, \p bus, \p device, and \p function are all hexadecimal values
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_DEVICE \notefnerr
\sa ::cuDeviceGet, ::cuDeviceGetAttribute, ::cuDeviceGetPCIBusId, ::cudaDeviceGetByPCIBusId