mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
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:
committed by
Compute-Runtime-Automation
parent
98b6259129
commit
ee032982a6
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user