mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
performance: Remove global fence allocation from BMG
Resolves: NEO-14642 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
304fba1eba
commit
c9a21c158e
@@ -24,7 +24,9 @@ bool GfxCoreHelperHw<Family>::isFenceAllocationRequired(const HardwareInfo &hwIn
|
||||
(debugManager.flags.DirectSubmissionInsertExtraMiMemFenceCommands.get() == 0)) {
|
||||
return false;
|
||||
}
|
||||
return !hwInfo.capabilityTable.isIntegratedDevice;
|
||||
return productHelper.isGlobalFenceInCommandStreamRequired(hwInfo) ||
|
||||
productHelper.isGlobalFenceInDirectSubmissionRequired(hwInfo) ||
|
||||
productHelper.isGlobalFenceInPostSyncRequired(hwInfo);
|
||||
}
|
||||
|
||||
template <typename Family>
|
||||
|
||||
Reference in New Issue
Block a user