cuda.bindings.nvml.device_get_display_active#

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

Retrieves the display active state for the device.

For all products. This method indicates whether a display is initialized on the device. For example whether X Server is attached to this device and has allocated memory for the screen. Display can be active even when no monitor is physically attached. 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 active state.

Return type:

int

See also

nvmlDeviceGetDisplayActive