Skip to content

Commit

Permalink
Fix test_circular_buffering.cpp (#3285)
Browse files Browse the repository at this point in the history
  • Loading branch information
zasdfgbnm authored Oct 27, 2024
1 parent 5776198 commit 374fa38
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/cpp/test_circular_buffering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,10 +803,9 @@ TEST_P(CircularBufferingTest, NoSync) {
testValidate(&fusion, cg_outputs, {t0, t1}, {ref}, __LINE__, __FILE__);
}

// Test circular buffer from 2 to 10 stages
auto StagesAndPrefetches() {
std::vector<StageAndPrefetch> values;
for (int64_t i : {2, 5, 10}) {
for (int64_t i : {2, 5, 9}) {
for (int64_t j : c10::irange(-i, i)) {
values.emplace_back(i, j);
}
Expand Down Expand Up @@ -1765,10 +1764,9 @@ TEST_P(TmaCircularBufferingTest, MatmulWithBroadcastedInput) {
fusion.get(), cg_outputs, {t0, t1}, {aten_output}, __LINE__, __FILE__);
}

// Test circular buffer from 2 to 5 stages
auto tmaCircularBufferingParams() {
std::vector<TmaCircularBufferingParams> values;
for (int64_t i : {2, 5}) {
for (int64_t i : {2, 4}) {
for (int64_t j : c10::irange(-i, i)) {
for (int64_t m : {128, 500, 1024}) {
for (int64_t n : {128, 1024}) {
Expand Down

0 comments on commit 374fa38

Please sign in to comment.