Skip to content

Commit f22d006

Browse files
committed
Revert last commit and add _ExecutionPolicy to the kernel name
Signed-off-by: Matthew Michel <[email protected]>
1 parent 560480c commit f22d006

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_reduce_then_scan.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -763,11 +763,11 @@ __parallel_transform_reduce_then_scan(oneapi::dpl::__internal::__device_backend_
763763
// necessary to obtain a unique kernel name. However, if these compile time variables are adjusted in the
764764
// future, then we need to be careful here to ensure unique kernel naming.
765765
using _ReduceKernel = oneapi::dpl::__par_backend_hetero::__internal::__kernel_name_generator<
766-
__reduce_then_scan_reduce_kernel, _CustomName, _InRng, _OutRng, _GenReduceInput, _ReduceOp, _InitType,
767-
_Inclusive, _IsUniquePattern>;
766+
__reduce_then_scan_reduce_kernel, _CustomName, _ExecutionPolicy, _InRng, _OutRng, _GenReduceInput, _ReduceOp,
767+
_InitType, _Inclusive, _IsUniquePattern>;
768768
using _ScanKernel = oneapi::dpl::__par_backend_hetero::__internal::__kernel_name_generator<
769-
__reduce_then_scan_scan_kernel, _CustomName, _InRng, _OutRng, _GenScanInput, _ReduceOp, _ScanInputTransform,
770-
_WriteOp, _InitType, _Inclusive, _IsUniquePattern>;
769+
__reduce_then_scan_scan_kernel, _CustomName, _ExecutionPolicy, _InRng, _OutRng, _GenScanInput, _ReduceOp,
770+
_ScanInputTransform, _WriteOp, _InitType, _Inclusive, _IsUniquePattern>;
771771
static auto __kernels = __internal::__kernel_compiler<_ReduceKernel, _ScanKernel>::__compile(__exec);
772772
const sycl::kernel& __reduce_kernel = __kernels[0];
773773
const sycl::kernel& __scan_kernel = __kernels[1];

0 commit comments

Comments
 (0)