@@ -233,7 +233,7 @@ class DoIndirectSYCLLambda
233
233
{
234
234
public:
235
235
236
- void operator ()(sycl::nd_item<1 > x, SmallSpan<const Int32> ids, Lambda func, RemainingArgs... reducer_args ) const
236
+ void operator ()(sycl::nd_item<1 > x, SmallSpan<const Int32> ids, Lambda func, RemainingArgs... remaining_args ) const
237
237
{
238
238
using BuilderType = TraitsType::BuilderType;
239
239
using LocalIdType = BuilderType::ValueType;
@@ -243,9 +243,9 @@ class DoIndirectSYCLLambda
243
243
Int32 i = static_cast <Int32>(x.get_global_id (0 ));
244
244
if (i < ids.size ()) {
245
245
LocalIdType lid (ids[i]);
246
- body (BuilderType::create (i, lid), reducer_args ...);
246
+ body (BuilderType::create (i, lid), remaining_args ...);
247
247
}
248
- KernelReducerHelper::applyReducerArgs (x, reducer_args ...);
248
+ KernelRemainingArgsHelper::applyRemainingArgs (x, remaining_args ...);
249
249
}
250
250
void operator ()(sycl::id<1 > x, SmallSpan<const Int32> ids, Lambda func) const
251
251
{
@@ -376,7 +376,7 @@ void _applyKernelSYCL(impl::RunCommandLaunchInfo& launch_info, SyclKernel kernel
376
376
Int32 b = tbi.nbBlockPerGrid ();
377
377
Int32 t = tbi.nbThreadPerBlock ();
378
378
sycl::nd_range<1 > loop_size (b * t, t);
379
- event = s.parallel_for (loop_size, [=](sycl::nd_item<1 > i) { kernel (i, args, func, reducer_args ...); });
379
+ event = s.parallel_for (loop_size, [=](sycl::nd_item<1 > i) { kernel (i, args, func, remaining_args ...); });
380
380
}
381
381
else {
382
382
sycl::range<1 > loop_size = launch_info.totalLoopSize ();
0 commit comments