Skip to content

Commit

Permalink
More matmul test coverage (#3622)
Browse files Browse the repository at this point in the history
  • Loading branch information
wujingyue authored Dec 20, 2024
1 parent e72f9e5 commit 49b0862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cpp/test_matmul_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ TEST_F(MatmulSchedulerTest, FusedMultiplySumOnly) {
// for Ampere with strict ref check, hence single layout check
TEST_F(MatmulSchedulerTest, BasicMatmulStrictCheckTT) {
// TODO: Make these tests work with Hopper as well as Ampere
NVFUSER_TEST_CUDA_ARCH_RANGE_GUARD(8, 0, 8, 9);
NVFUSER_TEST_CUDA_ARCH_RANGE_GUARD(8, 0, 9, 0);

const int M = 128, N = 256, K = 512;
const auto layout = MmaLayout::TT;
Expand Down Expand Up @@ -2481,7 +2481,7 @@ class MatmulSchedulerPluginTest : public NVFuserTest {

// Test that our fake plugin works to override the default heuristic
TEST_F(MatmulSchedulerPluginTest, BasicMatmul) {
NVFUSER_TEST_CUDA_ARCH_RANGE_GUARD(8, 0, 8, 9);
NVFUSER_TEST_CUDA_ARCH_RANGE_GUARD(8, 0, 9, 0);
const int M = 128, N = 256, K = 512;
const auto layout = MmaLayout::TT;
auto fusion = std::make_unique<Fusion>();
Expand Down Expand Up @@ -3156,7 +3156,7 @@ INSTANTIATE_TEST_SUITE_P(
#undef NVFUSER_TEST_CUDA_ARCH_GUARD

TEST_F(MatmulSchedulerTest, OperandOrderIssue2434) {
NVFUSER_TEST_CUDA_ARCH_RANGE_GUARD(8, 0, 8, 9);
NVFUSER_TEST_CUDA_ARCH_RANGE_GUARD(8, 0, 9, 0);
int M = 32, N = 64, K = 128;

std::unique_ptr<Fusion> fusion_ptr = std::make_unique<Fusion>();
Expand Down

0 comments on commit 49b0862

Please sign in to comment.