From 0043cae14d16c9373bf6fd09d0136a4bd1e6f856 Mon Sep 17 00:00:00 2001 From: Vin Huang Date: Fri, 30 Jun 2023 17:50:54 +0800 Subject: [PATCH] Fix only use ext api when use_ext is enabled in the matmul test. --- clients/include/testing_matmul.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/include/testing_matmul.hpp b/clients/include/testing_matmul.hpp index d14c74ed2..9aec63fad 100644 --- a/clients/include/testing_matmul.hpp +++ b/clients/include/testing_matmul.hpp @@ -1427,10 +1427,11 @@ void testing_matmul(const Arguments& arg) if(!do_grouped_gemm) { - CHECK_HIPBLASLT_ERROR(gemm.initialize(heuristicResult[0].algo, *dWorkspace, stream)); if(arg.use_ext) { + CHECK_HIPBLASLT_ERROR( + gemm.initialize(heuristicResult[0].algo, *dWorkspace, stream)); for(int i = 0; i < number_cold_calls; i++) CHECK_HIPBLASLT_ERROR(gemm.run(stream)); CHECK_HIP_ERROR(hipStreamSynchronize(stream));