refactor: print faulted address when waiting for tag

getDeviceState on Windows prints faulted GPU VA
if OOB access happened.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-10-02 13:06:00 +00:00
committed by Compute-Runtime-Automation
parent 98b6259129
commit ee032982a6
5 changed files with 29 additions and 3 deletions

View File

@@ -385,8 +385,11 @@ bool CommandStreamReceiver::isGpuHangDetected() const {
if (debugManager.flags.DisableGpuHangDetection.get()) {
return false;
}
return this->osContext && this->getOSInterface() && this->getOSInterface()->getDriverModel() && this->getOSInterface()->getDriverModel()->isGpuHangDetected(*osContext);
auto isGpuHang = this->osContext && this->getOSInterface() && this->getOSInterface()->getDriverModel() && this->getOSInterface()->getDriverModel()->isGpuHangDetected(*osContext);
if (isGpuHang) {
this->getOSInterface()->getDriverModel()->getDeviceState();
}
return isGpuHang;
}
void CommandStreamReceiver::cleanupResources() {