mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Change notify delay to use microseconds.
- Microseconds offer better precision. - Some workloads require threshold less then 1 millisecond to work efficiently. Change-Id: I1a565049340fb6eeebe5c0a61ededae9959daca8
This commit is contained in:
@@ -185,9 +185,9 @@ int HwInfoConfig::configureHwInfo(const HardwareInfo *inHwInfo, HardwareInfo *ou
|
||||
? !!DebugManager.flags.OverrideEnableKmdNotify.get()
|
||||
: outHwInfo->capabilityTable.enableKmdNotify;
|
||||
|
||||
outHwInfo->capabilityTable.delayKmdNotifyMs = DebugManager.flags.OverrideKmdNotifyDelayMs.get() >= 0
|
||||
? static_cast<int64_t>(DebugManager.flags.OverrideKmdNotifyDelayMs.get())
|
||||
: outHwInfo->capabilityTable.delayKmdNotifyMs;
|
||||
outHwInfo->capabilityTable.delayKmdNotifyMicroseconds = DebugManager.flags.OverrideKmdNotifyDelayMicroseconds.get() >= 0
|
||||
? static_cast<int64_t>(DebugManager.flags.OverrideKmdNotifyDelayMicroseconds.get())
|
||||
: outHwInfo->capabilityTable.delayKmdNotifyMicroseconds;
|
||||
|
||||
pPlatform.release();
|
||||
pSkuTable.release();
|
||||
|
||||
Reference in New Issue
Block a user