Skip to content

Commit

Permalink
bug fix for row permutation
Browse files Browse the repository at this point in the history
  • Loading branch information
albestro committed May 27, 2024
1 parent 5cd926d commit 8a21233
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/dlaf/permutations/general/impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,9 @@ void Permutations<B, D, T, C>::call(const SizeType i_begin, const SizeType i_end
};
const LocalTileIndex idx_begin_lc = next_local_from_global(i_begin);
const LocalTileIndex idx_end_lc = next_local_from_global(i_end);
auto perms_range = common::iterate_range2d(LocalTileIndex(idx_begin_lc.col(), 0),
LocalTileIndex(idx_end_lc.col(), 1));

auto perms_range = common::iterate_range2d(LocalTileIndex(idx_begin_lc.get<C>(), 0),
LocalTileIndex(idx_end_lc.get<C>(), 1));
auto mat_range = common::iterate_range2d(idx_begin_lc, idx_end_lc);
auto sender = ex::when_all(ex::when_all_vector(matrix::selectRead(perms, std::move(perms_range))),
ex::when_all_vector(matrix::selectRead(mat_in, mat_range)),
Expand Down

0 comments on commit 8a21233

Please sign in to comment.