cuda.bindings.nvml.device_get_display_mode#

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

Retrieves the display mode for the device.

For all products. This method indicates whether a physical display (e.g. monitor) is currently connected to any of the device’s connectors. See nvmlEnableState_t for details on allowed modes.

Parameters:

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

Returns:

Reference in which to return the display mode.

Return type:

int

See also

nvmlDeviceGetDisplayMode