From 3c45e354081fa0886d63cfbfdeeb432d5a80db34 Mon Sep 17 00:00:00 2001 From: MikeDvorskiy Date: Fri, 27 Dec 2024 15:38:57 +0100 Subject: [PATCH] [oneDPL][ranges] + typo fix --- .../oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h index d50079a4a0..7f54e54268 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h @@ -192,7 +192,7 @@ struct __parallel_merge_submitter<_IdType, __internal::__optional_kernel_name<_N __result_and_scratch_storage_t __result_storage{__exec, 1, 0}; auto __event = __exec.queue().submit( - [&__rng1, &__rng2, &__rng3, &__result_storage, __comp, __chunk, __steps, __n1, __n2](sycl::handler& __cgh) { + [&__rng1, &__rng2, &__rng3, &__result_storage, __comp, __chunk, __steps, __n, __n1, __n2](sycl::handler& __cgh) { oneapi::dpl::__ranges::__require_access(__cgh, __rng1, __rng2, __rng3); auto __result_acc = __result_storage.template __get_result_acc(__cgh, __dpl_sycl::__no_init{});