Skip to content

Commit

Permalink
include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge.h - …
Browse files Browse the repository at this point in the history
…fix an error in types of SP on base diagonals

Signed-off-by: Sergey Kopienko <[email protected]>
  • Loading branch information
SergeyKopienko committed Nov 20, 2024
1 parent 3fdd673 commit 0ca542a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::size_t>& __sp_base_left_global = __base_diagonals_sp_global_ptr[__group_linear_id];
const _split_point_t<std::size_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);
Expand Down

0 comments on commit 0ca542a

Please sign in to comment.