diff --git a/sycl/include/sycl/handler.hpp b/sycl/include/sycl/handler.hpp index 6018e98ee5f24..d73bee1cb9c0b 100644 --- a/sycl/include/sycl/handler.hpp +++ b/sycl/include/sycl/handler.hpp @@ -1113,7 +1113,7 @@ class __SYCL_EXPORT handler { /// \param KernelFunc is a SYCL kernel function. template - void parallel_for_impl(nd_range ExecutionRange, PropertiesT Properties, + void parallel_for_impl(nd_range ExecutionRange, PropertiesT, _KERNELFUNCPARAM(KernelFunc)) { throwIfActionIsCreated(); // TODO: Properties may change the kernel function, so in order to avoid @@ -1363,9 +1363,8 @@ class __SYCL_EXPORT handler { kernel_handler) {} template - static void - kernel_parallel_for_work_group_unpack(handler *Caller, - _KERNELFUNCPARAM(KernelFunc)) {} + static void kernel_parallel_for_work_group_unpack(handler *, + _KERNELFUNCPARAMTYPE) {} template static void kernel_parallel_for_work_group_unpack(handler *,