cuda.bindings._v2.driver.device_get_pci_bus_id#
- cuda.bindings._v2.driver.device_get_pci_bus_id(int len, int dev) bytes#
Returns a PCI Bus Id string for the device.
Returns an ASCII string identifying the device
devin the NULL-terminated string pointed to bypci_bus_id.lengthspecifies the maximum length of the string that may be returned. wheredomain,bus,device, andfunctionare all hexadecimal values. pci_bus_id should be large enough to store 13 characters including the NULL-terminator.- Parameters:
- Returns:
- Returned identifier string for the device in the following
format.
- Return type:
See also
cuDeviceGetPCIBusId