Skip to content

Commit

Permalink
Fix GPU compilation in permutations implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Jul 21, 2023
1 parent 4ca0a7c commit 34f78ff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/dlaf/permutations/general/impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ void Permutations<B, D, T, C>::call(const SizeType i_begin, const SizeType i_end

applyPermutationsOnDevice<T, C>(GlobalElementIndex(0, 0), subm_dist.size(), 0, subm_dist, i_ptr,
mat_in_tiles, mat_out_tiles, stream);

ex::start_detached(std::move(sender) |
dlaf::internal::transform(dlaf::internal::Policy<B>(), std::move(permute_fn)));
};

ex::start_detached(std::move(sender) |
dlaf::internal::transform(dlaf::internal::Policy<B>(), std::move(permute_fn)));
#endif
}
}
Expand Down Expand Up @@ -423,11 +423,11 @@ void applyPackingIndex(const matrix::Distribution& subm_dist, IndexMapSender&& i

applyPermutationsOnDevice<T, C>(GlobalElementIndex(0, 0), subm_dist.size(), 0, subm_dist, i_ptr,
mat_in_tiles, mat_out_tiles, stream);

ex::start_detached(std::move(sender) |
dlaf::internal::transform(dlaf::internal::Policy<Backend::GPU>(),
std::move(permute_fn)));
};

ex::start_detached(std::move(sender) |
dlaf::internal::transform(dlaf::internal::Policy<Backend::GPU>(),
std::move(permute_fn)));
#endif
}
}
Expand Down

0 comments on commit 34f78ff

Please sign in to comment.