diff --git a/frame/compat/bla_gemm.c b/frame/compat/bla_gemm.c index 5bdbc392c..9601c9abd 100644 --- a/frame/compat/bla_gemm.c +++ b/frame/compat/bla_gemm.c @@ -5,7 +5,7 @@ libraries. Copyright (C) 2014, The University of Texas at Austin - Copyright (C) 2019 - 2023, Advanced Micro Devices, Inc. All rights reserved. + Copyright (C) 2019 - 2024, Advanced Micro Devices, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -415,10 +415,9 @@ void PASTEF77(ch,blasname) \ ) #endif -#ifdef BLIS_ENABLE_BLAS INSERT_GENTFUNC_BLAS( gemm,gemm ) -void dzgemm_ +void dzgemm_blis_impl ( const f77_char* transa, const f77_char* transb, @@ -547,5 +546,21 @@ void dzgemm_ /* Finalize BLIS. */ bli_finalize_auto(); }// end of dzgemm_ - +#ifdef BLIS_ENABLE_BLAS +void dzgemm_ + ( + const f77_char* transa, + const f77_char* transb, + const f77_int* m, + const f77_int* n, + const f77_int* k, + const dcomplex* alpha, + const double* a, const f77_int* lda, + const dcomplex* b, const f77_int* ldb, + const dcomplex* beta, + dcomplex* c, const f77_int* ldc + ) +{ + dzgemm_blis_impl( transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc ); +} #endif