cuda.bindings._v2.driver.device_get_by_pci_bus_id#
- cuda.bindings._v2.driver.device_get_by_pci_bus_id(pci_bus_id) int#
Returns a handle to a compute device.
Returns in
*devicea device handle given a PCI bus ID string. wheredomain,bus,device, andfunctionare all hexadecimal values.- Parameters:
pci_bus_id (bytes) – String in one of the following forms:.
- Returns:
Returned device handle.
- Return type:
See also
cuDeviceGetByPCIBusId