Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion include/dr/sp/algorithms/copy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ sycl::event copy_async(InputIt first, InputIt last, OutputIt d_first) {
auto local_last = first;
rng::advance(local_last, n_to_copy);

auto &&q = __detail::queue(ranges::rank(segment));

events.emplace_back(
dr::sp::copy_async(first, local_last, rng::begin(segment)));
dr::sp::copy_async(q, first, local_last, rng::begin(segment)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line does not compile, see CI run

/home/runner/work/distributed-ranges/distributed-ranges/include/./dr/sp/algorithms/copy.hpp:126:9: error: no matching function for call to 'copy_async'
  126 |         dr::sp::copy_async(q, first, local_last, rng::begin(segment)));


++segment_iter;
rng::advance(first, n_to_copy);
Expand Down
Loading