refactor: unify naming for l3 flush after post sync

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-09-10 06:25:01 +00:00
committed by Compute-Runtime-Automation
parent 36ded38589
commit 56415ddac7
20 changed files with 36 additions and 34 deletions

View File

@@ -136,7 +136,7 @@ CommandQueue::CommandQueue(Context *context, ClDevice *device, const cl_queue_pr
this->heaplessModeEnabled = compilerProductHelper.isHeaplessModeEnabled(hwInfo);
this->heaplessStateInitEnabled = compilerProductHelper.isHeaplessStateInitEnabled(this->heaplessModeEnabled);
this->isForceStateless = compilerProductHelper.isForceToStatelessRequired();
this->l3FlushAfterPostSyncEnabled = productHelper.isL3FlushAfterPostSyncRequired(this->heaplessModeEnabled);
this->l3FlushAfterPostSyncEnabled = productHelper.isL3FlushAfterPostSyncSupported(this->heaplessModeEnabled);
this->shouldRegisterEnqueuedWalkerWithProfiling = productHelper.shouldRegisterEnqueuedWalkerWithProfiling();
}
}
@@ -1361,7 +1361,7 @@ bool CommandQueue::isWaitForTimestampsEnabled() const {
auto enabled = CommandQueue::isTimestampWaitEnabled();
enabled &= productHelper.isTimestampWaitSupportedForQueues(this->heaplessModeEnabled);
if (productHelper.isL3FlushAfterPostSyncRequired(this->heaplessModeEnabled)) {
if (productHelper.isL3FlushAfterPostSyncSupported(this->heaplessModeEnabled)) {
enabled &= true;
} else {
enabled &= !productHelper.isDcFlushAllowed();

View File

@@ -101,7 +101,7 @@ inline void HardwareInterface<GfxFamily>::programWalker(
if constexpr (heaplessModeEnabled) {
auto &productHelper = rootDeviceEnvironment.getHelper<ProductHelper>();
if (productHelper.isL3FlushAfterPostSyncRequired(true)) {
if (productHelper.isL3FlushAfterPostSyncSupported(true)) {
GpgpuWalkerHelper<GfxFamily>::setupTimestampPacketFlushL3(walkerCmd,
commandQueue,
FlushL3Args{.containsPrintBuffer = kernel.hasPrintfOutput(),