From 0ca542a2db9beb47b55cb80c6087e9c27147aa3b Mon Sep 17 00:00:00 2001 From: Sergey Kopienko Date: Wed, 20 Nov 2024 10:37:49 +0100 Subject: [PATCH] include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h - fix an error in types of SP on base diagonals Signed-off-by: Sergey Kopienko --- .../dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 9cb0a04a392..0cf5bf24ffd 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 @@ -382,8 +382,8 @@ struct __parallel_merge_submitter_large<_IdType, _CustomName, // Split points on left anr right base diagonals // - in GLOBAL coordinates - const _split_point_t& __sp_base_left_global = __base_diagonals_sp_global_ptr[__group_linear_id]; - const _split_point_t& __sp_base_right_global = __base_diagonals_sp_global_ptr[__group_linear_id + 1]; + const auto& __sp_base_left_global = __base_diagonals_sp_global_ptr[__group_linear_id]; + const auto& __sp_base_right_global = __base_diagonals_sp_global_ptr[__group_linear_id + 1]; assert(__sp_base_right_global.first >= __sp_base_left_global.first); assert(__sp_base_right_global.second >= __sp_base_left_global.second);