Skip to content

Commit 53104e0

Browse files
Add a parameter to the encode function
Signed-off-by: Daria Hinz <[email protected]>
1 parent c99b223 commit 53104e0

File tree

4 files changed

+71
-64
lines changed

4 files changed

+71
-64
lines changed

level_zero/core/source/cmdlist/cmdlist_hw_base.inl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(z
108108
kernel,
109109
0,
110110
false,
111+
false,
111112
neoDevice,
112113
commandListPreemptionMode,
113114
this->containsStatelessUncachedResource,

shared/source/command_container/command_encoder.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ struct EncodeDispatchKernel {
3636
DispatchKernelEncoderI *dispatchInterface,
3737
uint64_t eventAddress,
3838
bool isTimestampEvent,
39+
bool L3FlushEnable,
3940
Device *device,
4041
PreemptionMode preemptionMode,
4142
bool &requiresUncachedMocs,

shared/source/command_container/command_encoder_bdw_plus.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace NEO {
2525
template <typename Family>
2626
void EncodeDispatchKernel<Family>::encode(CommandContainer &container,
2727
const void *pThreadGroupDimensions, bool isIndirect, bool isPredicate, DispatchKernelEncoderI *dispatchInterface,
28-
uint64_t eventAddress, bool isTimestampEvent, Device *device, PreemptionMode preemptionMode, bool &requiresUncachedMocs,
28+
uint64_t eventAddress, bool isTimestampEvent, bool L3FlushEnable, Device *device, PreemptionMode preemptionMode, bool &requiresUncachedMocs,
2929
uint32_t &partitionCount, bool isInternal) {
3030

3131
using MEDIA_STATE_FLUSH = typename Family::MEDIA_STATE_FLUSH;

0 commit comments

Comments
 (0)