Skip to content

Commit

Permalink
include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort…
Browse files Browse the repository at this point in the history
….h - fix review comment: It looks like we just write to the scratch buffer
  • Loading branch information
SergeyKopienko committed Jan 27, 2025
1 parent 7488c94 commit f519fcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ struct __merge_sort_global_submitter<_IndexT, __internal::__optional_kernel_name

oneapi::dpl::__ranges::__require_access(__cgh, __rng);
auto __base_diagonals_sp_global_acc =
__base_diagonals_sp_global_storage.template __get_scratch_acc<sycl::access_mode::read_write>(
__base_diagonals_sp_global_storage.template __get_scratch_acc<sycl::access_mode::write>(
__cgh, __dpl_sycl::__no_init{});

sycl::accessor __dst(__temp_buf, __cgh, sycl::read_write, sycl::no_init);
Expand Down

0 comments on commit f519fcc

Please sign in to comment.