Skip to content

Commit 29b64f2

Browse files
lsatanovbader
andauthored
[SYCL][NFC] Fix "unused parameter" warning (#5779)
This fixes compilation failure in case of compiling with -Werror,-Wunused-parameter. Co-authored-by: Alexey Bader <[email protected]>
1 parent b2494ab commit 29b64f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/include/CL/sycl/handler.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ class __SYCL_EXPORT handler {
669669
NormalizedKernelType(const KernelType &KernelFunc)
670670
: MKernelFunc(KernelFunc) {}
671671
void operator()(const nd_item<Dims> &Arg) {
672+
(void)Arg;
672673
detail::runKernelWithoutArg(MKernelFunc);
673674
}
674675
};

0 commit comments

Comments
 (0)