mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
debug: Add debug key for custom event timeout
- This helps to investigate tests using debug key Related-To: LOCI-3673 Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f53d9103ad
commit
d7a78db328
@@ -295,6 +295,10 @@ ze_result_t EventImp<TagSizeT>::hostSynchronize(uint64_t timeout) {
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
if (NEO::DebugManager.flags.OverrideEventSynchronizeTimeout.get() != -1) {
|
||||
timeout = NEO::DebugManager.flags.OverrideEventSynchronizeTimeout.get();
|
||||
}
|
||||
|
||||
if (timeout == 0) {
|
||||
return queryStatus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user