performance: enable staging copies in L0

Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-08-28 08:52:23 +00:00
committed by Compute-Runtime-Automation
parent 17b4fdb593
commit 1ded21f2c6
2 changed files with 0 additions and 9 deletions

View File

@@ -1915,9 +1915,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

@@ -1435,8 +1435,6 @@ HWTEST_F(StagingBuffersFixture, givenAppendMemoryCopyWithoutStagingThenImportAll
}
HWTEST_F(StagingBuffersFixture, givenAppendMemoryCopyWithStagingAndNonUsmDstThenImportAllocation) {
NEO::debugManager.flags.EnableCopyWithStagingBuffers.set(1);
MockCommandListImmediateHw<FamilyType::gfxCoreFamily> cmdList;
cmdList.cmdQImmediate = queue.get();
cmdList.initialize(device, NEO::EngineGroupType::compute, 0u);
@@ -1451,8 +1449,6 @@ HWTEST_F(StagingBuffersFixture, givenAppendMemoryCopyWithStagingAndNonUsmDstThen
}
HWTEST_F(StagingBuffersFixture, givenAppendMemoryCopyWithStagingThenDontImportAllocation) {
NEO::debugManager.flags.EnableCopyWithStagingBuffers.set(1);
MockCommandListImmediateHw<FamilyType::gfxCoreFamily> cmdList;
cmdList.callBaseExecute = true;
cmdList.cmdQImmediate = queue.get();
@@ -1484,8 +1480,6 @@ HWTEST_F(StagingBuffersFixture, givenStagingBufferManagerDestroyedAndHostSynchro
}
HWTEST_F(StagingBuffersFixture, givenAppendMemoryCopyWithStagingWhenAppendFailedThenPropagateError) {
NEO::debugManager.flags.EnableCopyWithStagingBuffers.set(1);
MockCommandListImmediateHw<FamilyType::gfxCoreFamily> cmdList;
cmdList.cmdQImmediate = queue.get();
cmdList.initialize(device, NEO::EngineGroupType::compute, 0u);