From 3016ed1c395711a1a2b48d05836733f455c3899c Mon Sep 17 00:00:00 2001 From: Maciej Plewka Date: Tue, 5 Oct 2021 16:46:00 +0000 Subject: [PATCH] Make clearComputeModePropertiesIfNeeded method virtual Signed-off-by: Maciej Plewka --- level_zero/core/source/cmdlist/cmdlist_hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_zero/core/source/cmdlist/cmdlist_hw.h b/level_zero/core/source/cmdlist/cmdlist_hw.h index 5a10a7ed06..0500f57d0e 100644 --- a/level_zero/core/source/cmdlist/cmdlist_hw.h +++ b/level_zero/core/source/cmdlist/cmdlist_hw.h @@ -224,7 +224,7 @@ struct CommandListCoreFamily : CommandListImp { ze_result_t appendLaunchKernelSplit(ze_kernel_handle_t hKernel, const ze_group_count_t *pThreadGroupDimensions, ze_event_handle_t hEvent); ze_result_t prepareIndirectParams(const ze_group_count_t *pThreadGroupDimensions); void updateStreamProperties(Kernel &kernel, bool isMultiOsContextCapable, bool isCooperative); - void clearComputeModePropertiesIfNeeded(bool requiresCoherency, uint32_t numGrfRequired, uint32_t threadArbitrationPolicy); + virtual void clearComputeModePropertiesIfNeeded(bool requiresCoherency, uint32_t numGrfRequired, uint32_t threadArbitrationPolicy); void clearCommandsToPatch(); void applyMemoryRangesBarrier(uint32_t numRanges, const size_t *pRangeSizes,