diff --git a/level_zero/core/source/cmdlist/cmdlist_hw.inl b/level_zero/core/source/cmdlist/cmdlist_hw.inl index 135ce320b8..2438a8a46f 100644 --- a/level_zero/core/source/cmdlist/cmdlist_hw.inl +++ b/level_zero/core/source/cmdlist/cmdlist_hw.inl @@ -659,6 +659,22 @@ ze_result_t CommandListCoreFamily::appendMemAdvise(ze_device_hand return ZE_RESULT_ERROR_UNKNOWN; } +template +ze_result_t CommandListCoreFamily::appendLaunchKernelSplit(ze_kernel_handle_t hKernel, + const ze_group_count_t *pThreadGroupDimensions, + ze_event_handle_t hEvent) { + return appendLaunchKernelWithParams(hKernel, pThreadGroupDimensions, nullptr, false, false); +} + +template +void CommandListCoreFamily::appendEventForProfilingAllWalkers(ze_event_handle_t hEvent, bool beforeWalker) { + if (beforeWalker) { + appendEventForProfiling(hEvent, true); + } else { + appendSignalEventPostWalker(hEvent); + } +} + template ze_result_t CommandListCoreFamily::appendMemoryCopyKernelWithGA(void *dstPtr, NEO::GraphicsAllocation *dstPtrAlloc, diff --git a/level_zero/core/source/cmdlist/cmdlist_hw_base.inl b/level_zero/core/source/cmdlist/cmdlist_hw_base.inl index e4c6cc71ed..3cb0228884 100644 --- a/level_zero/core/source/cmdlist/cmdlist_hw_base.inl +++ b/level_zero/core/source/cmdlist/cmdlist_hw_base.inl @@ -31,22 +31,6 @@ size_t CommandListCoreFamily::getReserveSshSize() { return helper.getRenderSurfaceStateSize(); } -template -ze_result_t CommandListCoreFamily::appendLaunchKernelSplit(ze_kernel_handle_t hKernel, - const ze_group_count_t *pThreadGroupDimensions, - ze_event_handle_t hEvent) { - return appendLaunchKernelWithParams(hKernel, pThreadGroupDimensions, nullptr, false, false); -} - -template -void CommandListCoreFamily::appendEventForProfilingAllWalkers(ze_event_handle_t hEvent, bool beforeWalker) { - if (beforeWalker) { - appendEventForProfiling(hEvent, true); - } else { - appendSignalEventPostWalker(hEvent); - } -} - template ze_result_t CommandListCoreFamily::appendLaunchKernelWithParams(ze_kernel_handle_t hKernel, const ze_group_count_t *pThreadGroupDimensions,