performance: enable staging copy in L0

Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-07-21 13:31:22 +00:00
committed by Compute-Runtime-Automation
parent f129707e8a
commit 57e4cc025f
2 changed files with 1 additions and 3 deletions

View File

@@ -1913,9 +1913,6 @@ ze_result_t CommandListCoreFamilyImmediate<gfxCoreFamily>::appendStagingMemoryCo
template <GFXCORE_FAMILY gfxCoreFamily>
bool CommandListCoreFamilyImmediate<gfxCoreFamily>::isValidForStagingTransfer(const void *dstptr, const void *srcptr, size_t size, bool hasDependencies) {
if (NEO::debugManager.flags.EnableCopyWithStagingBuffers.get() != 1) {
return false;
}
if (this->useAdditionalBlitProperties) {
return false;
}

View File

@@ -2007,6 +2007,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCmdsChainingFromAppendCop
DebugManagerStateRestore restorer;
NEO::debugManager.flags.EnableL3FlushAfterPostSync.set(1);
NEO::debugManager.flags.EnableCopyWithStagingBuffers.set(0);
auto immCmdList = createImmCmdList<FamilyType::gfxCoreFamily>();
bool heaplessEnabled = immCmdList->isHeaplessModeEnabled();