cuda.bindings.nvml.device_get_driver_model_v2#

cuda.bindings.nvml.device_get_driver_model_v2(intptr_t device) tuple#

Retrieves the current and pending driver model for the device.

For Kepler ™️ or newer fully supported devices. For windows only. On Windows platforms the device driver can run in either WDDM, MCDM or WDM (TCC) modes. If a display is attached to the device it must run in WDDM mode. MCDM mode is preferred if a display is not attached. TCC mode is deprecated. Driver-model availability is architecture-specific; attempting to set an unsupported driver model returns NVML_ERROR_NOT_SUPPORTED. See nvmlDriverModel_t for details on available driver models.

Parameters:

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

Returns:

  • int: Reference in which to return the current driver model.

  • int: Reference in which to return the pending driver model.

Return type:

A 2-tuple containing

See also

nvmlDeviceGetDriverModel_v2