mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
refactor: unify naming for l3 flush after post sync
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
36ded38589
commit
56415ddac7
@@ -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();
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user