There is a event message “Display driver stopped responding and has recovered.” I know it is related to WDDM Timeout Detection and Recovery. My question is how to detect this situation happen in code. call what API.
I find even if a process make the driver stopped, but when the driver recovered, all the process using cuda is in error state and must be restart.
I want to detect this situation in a process and restart all processes in my program. How to do that?
And when the event happens, can I get the process info such as id from the message or driver log?
by the way, my windows 7 ultimate-64 bit. Thank you.