Add a parameter to the encode function

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
This commit is contained in:
Daria Hinz
2021-04-21 15:52:50 +00:00
committed by Compute-Runtime-Automation
parent c99b223aed
commit 53104e0830
4 changed files with 72 additions and 65 deletions

View File

@@ -36,6 +36,7 @@ struct EncodeDispatchKernel {
DispatchKernelEncoderI *dispatchInterface,
uint64_t eventAddress,
bool isTimestampEvent,
bool L3FlushEnable,
Device *device,
PreemptionMode preemptionMode,
bool &requiresUncachedMocs,

View File

@@ -25,7 +25,7 @@ namespace NEO {
template <typename Family>
void EncodeDispatchKernel<Family>::encode(CommandContainer &container,
const void *pThreadGroupDimensions, bool isIndirect, bool isPredicate, DispatchKernelEncoderI *dispatchInterface,
uint64_t eventAddress, bool isTimestampEvent, Device *device, PreemptionMode preemptionMode, bool &requiresUncachedMocs,
uint64_t eventAddress, bool isTimestampEvent, bool L3FlushEnable, Device *device, PreemptionMode preemptionMode, bool &requiresUncachedMocs,
uint32_t &partitionCount, bool isInternal) {
using MEDIA_STATE_FLUSH = typename Family::MEDIA_STATE_FLUSH;