Revert "refactor: add debug flag to invalidate L1 cache"

This reverts commit abb713e18f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2025-09-04 04:32:38 +02:00
committed by Compute-Runtime-Automation
parent cad64f72da
commit d5f3e72804
6 changed files with 0 additions and 50 deletions

View File

@@ -316,7 +316,6 @@ DECLARE_DEBUG_VARIABLE(int32_t, OverrideCopyOffloadMode, -1, "-1: default, 0: di
DECLARE_DEBUG_VARIABLE(int32_t, UseSingleListForTemporaryAllocations, -1, "-1: default, 0: disabled, 0: enabled. If enabled, use single list, instead of per CSR for tracking temporary allocations")
DECLARE_DEBUG_VARIABLE(int32_t, OverrideMaxMemAllocSizeMb, -1, "-1: default, >=0 override reported max mem alloc size in MB")
DECLARE_DEBUG_VARIABLE(int32_t, DetectIncorrectPointersOnSetArgCalls, -1, "-1: default do not detect, 0: do not detect, 1: detect incorrect pointers and return error")
DECLARE_DEBUG_VARIABLE(int32_t, InvalidateL1CacheInResourceBarrier, -1, "-1: default, 0: do not invalidate, 1: invalidate L1 cache when programming resource barrier")
/*LOGGING FLAGS*/
DECLARE_DEBUG_VARIABLE(int32_t, PrintDriverDiagnostics, -1, "prints driver diagnostics messages to standard output, value corresponds to hint level")

View File

@@ -291,9 +291,6 @@ void MemorySynchronizationCommands<Family>::setStallingBarrier(void *commandsBuf
resourceBarrier.setBarrierType(RESOURCE_BARRIER::BARRIER_TYPE::BARRIER_TYPE_IMMEDIATE);
resourceBarrier.setWaitStage(RESOURCE_BARRIER::WAIT_STAGE::WAIT_STAGE_TOP);
resourceBarrier.setSignalStage(RESOURCE_BARRIER::SIGNAL_STAGE::SIGNAL_STAGE_GPGPU);
if (debugManager.flags.InvalidateL1CacheInResourceBarrier.get() != -1) {
resourceBarrier.setL1DataportCacheInvalidate(debugManager.flags.InvalidateL1CacheInResourceBarrier.get() == 1);
}
*reinterpret_cast<RESOURCE_BARRIER *>(commandsBuffer) = resourceBarrier;
}

View File

@@ -299,9 +299,6 @@ void MemorySynchronizationCommands<Family>::setStallingBarrier(void *commandsBuf
resourceBarrier.setBarrierType(RESOURCE_BARRIER::BARRIER_TYPE::BARRIER_TYPE_IMMEDIATE);
resourceBarrier.setWaitStage(RESOURCE_BARRIER::WAIT_STAGE::WAIT_STAGE_TOP);
resourceBarrier.setSignalStage(RESOURCE_BARRIER::SIGNAL_STAGE::SIGNAL_STAGE_GPGPU);
if (debugManager.flags.InvalidateL1CacheInResourceBarrier.get() != -1) {
resourceBarrier.setL1DataportCacheInvalidate(debugManager.flags.InvalidateL1CacheInResourceBarrier.get() == 1);
}
*reinterpret_cast<RESOURCE_BARRIER *>(commandsBuffer) = resourceBarrier;
}