cuda.bindings.nvml.device_get_compute_mode#

cuda.bindings.nvml.device_get_compute_mode(intptr_t device) int#

Retrieves the current compute mode for the device.

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

Reference in which to return the current compute mode.

Return type:

int

See also

nvmlDeviceGetComputeMode