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 review comment: I would use std::pair<_Index> directly here.

Signed-off-by: Sergey Kopienko <[email protected]>
  • Loading branch information
SergeyKopienko committed Dec 16, 2024
1 parent a06ac54 commit c96cccf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ __find_start_point_in(const _Rng1& __rng1, const _Index __rng1_from, _Index __rn
return __zero_or_one < kValue;
});

return {*__res, __index_sum - *__res + 1};
return _split_point_t<_Index>{*__res, __index_sum - *__res + 1};
}

// Do serial merge of the data from rng1 (starting from start1) and rng2 (starting from start2) and writing
Expand Down

0 comments on commit c96cccf

Please sign in to comment.