cuda.bindings.nvml.device_get_handle_by_serial#

cuda.bindings.nvml.device_get_handle_by_serial(serial) intptr_t#

Acquire the handle for a particular device, based on its board serial number.

Parameters:

serial (str) – The board serial number of the target GPU.

Returns:

Reference in which to return the device handle.

Return type:

intptr_t

See also

nvmlDeviceGetHandleBySerial