Skip to content

Commit

Permalink
Same for scan
Browse files Browse the repository at this point in the history
  • Loading branch information
aelovikov-intel committed Sep 11, 2023
1 parent 89a4234 commit fea8388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/SYCL/Kokkos_SYCL_ParallelScan_Range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class ParallelScanSYCLBase {
group_results[item.get_group_linear_id()] =
local_mem[item.get_sub_group().get_group_range()[0] - 1];

sycl::atomic_ref<unsigned, sycl::memory_order::relaxed,
sycl::atomic_ref<unsigned, sycl::memory_order::acq_rel,
sycl::memory_scope::device,
sycl::access::address_space::global_space>
scratch_flags_ref(*scratch_flags);
Expand Down

0 comments on commit fea8388

Please sign in to comment.