From 2826066ee32748abb620b39ba443a6391b34d313 Mon Sep 17 00:00:00 2001 From: Xiaofei Han Date: Thu, 4 Dec 2025 15:44:22 +0800 Subject: [PATCH] Expand test sizes in GenerateGemmParams function Added additional test sizes for GEMM parameter generation. --- onnxruntime/test/providers/cpu/math/gemm_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/test/providers/cpu/math/gemm_test.cc b/onnxruntime/test/providers/cpu/math/gemm_test.cc index 0e5a4dac465b1..0e7dfee784d5a 100644 --- a/onnxruntime/test/providers/cpu/math/gemm_test.cc +++ b/onnxruntime/test/providers/cpu/math/gemm_test.cc @@ -1515,7 +1515,7 @@ TEST_P(GemmOptimizePackedTest, TestVariants) { std::vector GenerateGemmParams() { std::vector params; - std::vector> test_sizes = {{1, 1, 1}, {1, 64, 448}, {2, 3, 4}, {8, 8, 8}, {31, 31, 31}, {32, 32, 32}, {33, 67, 99}, {37, 64, 256}, {48, 48, 120}, {60, 16, 92}, {63, 64, 65}, {64, 64, 64}, {64, 64, 65}, {72, 80, 84}, {96, 24, 48}, {128, 32, 64}, {128, 128, 128}, {129, 129, 129}, {256, 64, 1024}}; + std::vector> test_sizes = {{1, 1, 1}, {1, 64, 448}, {2, 3, 4}, {8, 8, 8}, {31, 31, 31}, {32, 32, 32}, {33, 67, 99}, {37, 64, 256}, {48, 48, 120}, {60, 16, 92}, {63, 64, 65}, {64, 64, 64}, {64, 64, 65}, {72, 80, 84}, {96, 24, 48}, {128, 32, 64}, {128, 128, 128}, {129, 129, 129}, {256, 64, 1024}, {512, 1024, 1024}, {127, 1024, 1024}, {127, 1023, 1023}, {511, 1024, 1023}, {16, 1024, 191}, {15, 1024, 191}, {16, 1024, 192}, {6, 1024, 192}, {16, 1024, 600}, {49, 1024, 600}, {16, 1024, 192} }; std::vector bias_types = {BiasType::noBias, BiasType::MBias, BiasType::ScalarBias, BiasType::MNBias, BiasType::NBias};