From a0dfee4f3ceddac6b557e3944743640b2a7d3337 Mon Sep 17 00:00:00 2001 From: Thomas Ning Date: Mon, 9 Sep 2024 11:31:27 -0700 Subject: [PATCH] fix the unsupported scenario of Ali TestGemmUniversal (#1501) [ROCm/composable_kernel commit: cf08df6b5ee703a251d5c0ca72627a12c46550be] --- example/01_gemm/run_gemm_example.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/example/01_gemm/run_gemm_example.inc b/example/01_gemm/run_gemm_example.inc index 0e42c91d41..a6f0d0bcfe 100644 --- a/example/01_gemm/run_gemm_example.inc +++ b/example/01_gemm/run_gemm_example.inc @@ -305,6 +305,14 @@ bool run_gemm(const ProblemType& problem_size, const ExecutionConfig& config) } #endif } + else + { + // When the Problem Type and Problem Size does not fit. + + std::cerr << gemm.GetTypeString() << ": the instance does not support the problem config." + << std::endl; + return true; + } std::size_t flop = 2_uz * M * N * K; std::size_t num_btype =