mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
Split wait for timestamps to queue and event
On PVC both enabled. On DG2 only for events. Related-To: NEO-6948 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0b4ea8d2eb
commit
6e8cabdce5
@@ -1089,10 +1089,10 @@ bool CommandQueue::isWaitForTimestampsEnabled() const {
|
||||
const auto &hwHelper = HwHelper::get(getDevice().getHardwareInfo().platform.eRenderCoreFamily);
|
||||
const auto &hwInfoConfig = *HwInfoConfig::get(getDevice().getHardwareInfo().platform.eProductFamily);
|
||||
auto enabled = CommandQueue::isTimestampWaitEnabled();
|
||||
enabled &= hwHelper.isTimestampWaitSupported();
|
||||
enabled &= hwHelper.isTimestampWaitSupportedForQueues();
|
||||
enabled &= !hwInfoConfig.isDcFlushAllowed();
|
||||
|
||||
switch (DebugManager.flags.EnableTimestampWait.get()) {
|
||||
switch (DebugManager.flags.EnableTimestampWaitForQueues.get()) {
|
||||
case 0:
|
||||
enabled = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user