From 7251041abfc0cc967ba53f18e2b2be8092fec764 Mon Sep 17 00:00:00 2001 From: Sergey Kopienko Date: Sun, 22 Dec 2024 12:53:06 +0100 Subject: [PATCH] include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h - rename __find_or_eval_sp to __lookup_sp Signed-off-by: Sergey Kopienko --- .../hetero/dpcpp/parallel_backend_sycl_merge_sort.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h index 2e9adf0c7b7..2ea8cba95a8 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h @@ -422,7 +422,7 @@ struct __merge_sort_global_submitter<_IndexT, __internal::__optional_kernel_name template inline static _merge_split_point_t - __find_or_eval_sp(const std::size_t __global_idx, const nd_range_params& __nd_range_params, + __lookup_sp(const std::size_t __global_idx, const nd_range_params& __nd_range_params, const WorkDataArea& __data_area, const DropViews& __views, _Compare __comp, _BaseDiagonalsSPStorage __base_diagonals_sp_global_ptr) { @@ -516,18 +516,16 @@ struct __merge_sort_global_submitter<_IndexT, __internal::__optional_kernel_name { DropViews __views(__dst, __data_area); - const auto __sp = - __find_or_eval_sp(__linear_id /* __global_idx */, __nd_range_params, __data_area, - __views, __comp, __base_diagonals_sp_global_ptr); + const auto __sp = __lookup_sp(__linear_id /* __global_idx */, __nd_range_params, + __data_area, __views, __comp, __base_diagonals_sp_global_ptr); __serial_merge_w(__nd_range_params, __data_area, __views, __rng, __sp, __comp); } else { DropViews __views(__rng, __data_area); - const auto __sp = - __find_or_eval_sp(__linear_id /* __global_idx */, __nd_range_params, __data_area, - __views, __comp, __base_diagonals_sp_global_ptr); + const auto __sp = __lookup_sp(__linear_id /* __global_idx */, __nd_range_params, + __data_area, __views, __comp, __base_diagonals_sp_global_ptr); __serial_merge_w(__nd_range_params, __data_area, __views, __dst, __sp, __comp); } }