Skip to content

Commit

Permalink
Merge pull request #8 from rohany/fix-cannon
Browse files Browse the repository at this point in the history
tests: fix cannonMM implementation to scale k with gx
  • Loading branch information
rohany authored Jun 6, 2021
2 parents ba8addd + 07e0b21 commit 7f780f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests-distributed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,14 @@ TEST(distributed, cannonMM) {
// version of the code does.
// .distributeOnto({i, j}, {in, jn}, {il, jl}, a(i, j))
.distribute({i, j}, {in, jn}, {il, jl}, grid)
.divide(k, ko, ki, 2)
.divide(k, ko, ki, gx)
.reorder({ko, il, jl})
.stagger(ko, {in, jn}, kos)
.pushCommUnder(b(i, k), kos)
.pushCommUnder(c(k, j), kos)
.pushCommUnder(a(i, j), in)
// This can be enabled on Sapling where we have an OpenMP + OpenBLAS build.
// .swapLeafKernel(il, gemm)
.swapLeafKernel(il, gemm)
;

auto lowered = lower(stmt, "computeLegion", false, true);
Expand Down

0 comments on commit 7f780f3

Please sign in to comment.