cuda.bindings.nvml.device_get_handle_by_uuid#

cuda.bindings.nvml.device_get_handle_by_uuid(uuid) intptr_t#

Acquire the handle for a particular device, based on its globally unique immutable UUID (in ASCII format) associated with each device.

Parameters:

uuid (str) – The UUID of the target GPU or MIG instance.

Returns:

Reference in which to return the device handle or MIG device handle.

Return type:

intptr_t

See also

nvmlDeviceGetHandleByUUID