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 =