mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
performance: enable staging copy 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
f129707e8a
commit
57e4cc025f
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user