If you obtain the properties of a device using cudaGetDeviceProperties() function, then you can check the kernelExecTimeoutEnabled field. A true value indicates that the watchdog is active and that device is attached to a display.
If you obtain the properties of a device using cudaGetDeviceProperties() function, then you can check the kernelExecTimeoutEnabled field. A true value indicates that the watchdog is active and that device is attached to a display.