performance: Remove global fence allocation from BMG

Resolves: NEO-14642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2025-04-28 15:54:56 +00:00
committed by Compute-Runtime-Automation
parent 304fba1eba
commit c9a21c158e
6 changed files with 12 additions and 166 deletions

View File

@@ -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>