@@ -532,14 +532,14 @@ class reduction_impl : private reduction_impl_base {
532
532
// / Returns user's USM pointer passed to reduction for editing.
533
533
template <bool IsOneWG, bool _IsUSM = is_usm>
534
534
std::enable_if_t <IsOneWG && _IsUSM, result_type *>
535
- getWriteMemForPartialReds (size_t , handler &CGH ) {
535
+ getWriteMemForPartialReds (size_t , handler &) {
536
536
return getUSMPointer ();
537
537
}
538
538
539
539
// / Returns user's accessor passed to reduction for editing.
540
540
template <bool IsOneWG, bool _IsUSM = is_usm>
541
541
std::enable_if_t <IsOneWG && !_IsUSM, accessor_type>
542
- getWriteMemForPartialReds (size_t , handler &CGH ) {
542
+ getWriteMemForPartialReds (size_t , handler &) {
543
543
return *MAcc;
544
544
}
545
545
@@ -658,7 +658,7 @@ struct get_reduction_aux_kernel_name_t {
658
658
// / user's lambda function KernelFunc and also does one iteration of reduction
659
659
// / of elements computed in user's lambda function.
660
660
// / This version uses ONEAPI::reduce() algorithm to reduce elements in each
661
- // / of work-groups, then it calls fast sycl atomic operations to update
661
+ // / of work-groups, then it calls fast SYCL atomic operations to update
662
662
// / user's reduction variable.
663
663
// /
664
664
// / Briefly: calls user's lambda, ONEAPI::reduce() + atomic, INT + ADD/MIN/MAX.
@@ -685,7 +685,7 @@ reduCGFuncImpl(handler &CGH, KernelType KernelFunc, const nd_range<Dims> &Range,
685
685
// / user's lambda function KernelFunc and also does one iteration of reduction
686
686
// / of elements computed in user's lambda function.
687
687
// / This version uses tree-reduction algorithm to reduce elements in each
688
- // / of work-groups, then it calls fast sycl atomic operations to update
688
+ // / of work-groups, then it calls fast SYCL atomic operations to update
689
689
// / user's reduction variable.
690
690
// /
691
691
// / Briefly: calls user's lambda, tree-reduction + atomic, INT + AND/OR/XOR.
@@ -1351,7 +1351,7 @@ void reduCGFunc(handler &CGH, KernelType KernelFunc,
1351
1351
1352
1352
// The list of reductions may be empty; for such cases there is nothing to do.
1353
1353
// This function is intentionally made template to eliminate the need in holding
1354
- // it in sycl library, what would be less efficient and also would create the
1354
+ // it in SYCL library, what would be less efficient and also would create the
1355
1355
// need in keeping it for long due support backward ABI compatibility.
1356
1356
template <typename HandlerT>
1357
1357
std::enable_if_t <std::is_same<HandlerT, handler>::value>
0 commit comments