Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit c315745

Browse files
Merge pull request #218 from facebookresearch/pr/hotfix-syntactic-test
Hotfix update test to latest syntactic changes
2 parents f8d91dd + 0fe158f commit c315745

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/test_mapper_memory_promotion.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,11 +481,12 @@ TEST_F(MatMulBias, RegisterPromotion) {
481481
auto code = emitCode({{"N", 42}, {"M", 56}, {"K", 37}}, mappingOptions);
482482
auto declPos = code.find("float32 _O_0");
483483
auto copyToPos =
484-
code.find("_O_0[0][0] = O[32*b0 + c3][t0 + 32*b1]", declPos + 1);
484+
code.find("_O_0[0][0] = O[32 * b0 + c3][t0 + 32 * b1]", declPos + 1);
485485
auto copyFromPos =
486-
code.find("O[32*b0 + c3][t0 + 32*b1] = _O_0[0][0]", copyToPos + 1);
486+
code.find("O[32 * b0 + c3][t0 + 32 * b1] = _O_0[0][0]", copyToPos + 1);
487487

488-
auto originalAccPos = code.find("O[32*b0 + c3][t0 + 32*b1]", copyToPos + 1);
488+
auto originalAccPos =
489+
code.find("O[32 * b0 + c3][t0 + 32 * b1]", copyToPos + 1);
489490
auto cDeclPos = code.find("float32 _C_0");
490491
auto aDeclPos = code.find("float32 _A_0");
491492

0 commit comments

Comments
 (0)