mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
refactor: add check if event L3 flush is needed
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b5127eb1ea
commit
4c795027e3
@@ -89,6 +89,7 @@ struct EncodeDispatchKernelArgs {
|
||||
bool interruptEvent = false;
|
||||
bool immediateScratchAddressPatching = false;
|
||||
bool makeCommandView = false;
|
||||
bool isFlushL3AfterPostSyncEnabled = false;
|
||||
|
||||
bool requiresSystemMemoryFence() const {
|
||||
return (isHostScopeSignalEvent && isKernelUsingSystemAllocation);
|
||||
@@ -188,6 +189,9 @@ struct EncodeDispatchKernel {
|
||||
template <typename WalkerType>
|
||||
static void adjustTimestampPacket(WalkerType &walkerCmd, const EncodeDispatchKernelArgs &args);
|
||||
|
||||
template <typename WalkerType>
|
||||
static void encodeL3FlushAfterPostSync(WalkerType &walkerCmd, const EncodeDispatchKernelArgs &args);
|
||||
|
||||
template <typename WalkerType>
|
||||
static void setupPostSyncForRegularEvent(WalkerType &walkerCmd, const EncodeDispatchKernelArgs &args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user