mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
performance: enable staging copies in L0
Related-To: NEO-14026 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
17b4fdb593
commit
1ded21f2c6
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user