mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Implement GPU hang detection on Windows
This change uses value of cpuAddress from monitored fence to detect GPU hang. Related-To: NEO-5313 Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
61ca84e94b
commit
18cafd3a52
@ -243,7 +243,7 @@ bool CommandStreamReceiver::skipResourceCleanup() const {
|
||||
}
|
||||
|
||||
bool CommandStreamReceiver::isGpuHangDetected() const {
|
||||
return this->getOSInterface() && this->getOSInterface()->getDriverModel() && this->getOSInterface()->getDriverModel()->isGpuHangDetected(osContext->getContextId());
|
||||
return this->osContext && this->getOSInterface() && this->getOSInterface()->getDriverModel() && this->getOSInterface()->getDriverModel()->isGpuHangDetected(*osContext);
|
||||
}
|
||||
|
||||
void CommandStreamReceiver::cleanupResources() {
|
||||
|
Reference in New Issue
Block a user