what is the easiest way to get the status of a gpu? I only need to know if the hardware responds or not, before I even send any kernel to it. does the OS dump this info in some logs, or can I query the device somehow at the OS levell?