From de3247b0da0db8fb551e573260eac32333733af7 Mon Sep 17 00:00:00 2001 From: Dipal M Zambare Date: Thu, 15 Sep 2022 17:38:27 +0530 Subject: [PATCH] Removed extra prototypes for ?gemm3m APIs - Removed prototypes for float(sgemm3m) and double(dgemm3m) types, as BLIS implements this API only for scomplex(cgemm3m) and dcomplex(zgemm3m) AMD-Internal: [SWLCSG-1477] Change-Id: Ifad86a74b4c939ed240743894b85bb4fa5e6d754 --- frame/compat/bla_gemm3m.h | 2 +- frame/include/bli_gentprot_macro_defs.h | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/frame/compat/bla_gemm3m.h b/frame/compat/bla_gemm3m.h index d64e3f199..b144332fc 100644 --- a/frame/compat/bla_gemm3m.h +++ b/frame/compat/bla_gemm3m.h @@ -67,6 +67,6 @@ BLIS_EXPORT_BLAS void PASTEF77S(ch,blasname) \ ); #ifdef BLIS_ENABLE_BLAS -INSERT_GENTPROT_BLAS( gemm3m ) +INSERT_GENTPROT_BLAS_CZ( gemm3m ) #endif diff --git a/frame/include/bli_gentprot_macro_defs.h b/frame/include/bli_gentprot_macro_defs.h index f9d1caa56..703bef68d 100644 --- a/frame/include/bli_gentprot_macro_defs.h +++ b/frame/include/bli_gentprot_macro_defs.h @@ -1,3 +1,4 @@ + /* BLIS @@ -5,7 +6,7 @@ libraries. Copyright (C) 2014, The University of Texas at Austin - Copyright (C) 2020, Advanced Micro Devices, Inc. + Copyright (C) 2020-2022, 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 @@ -56,6 +57,11 @@ GENTPROT( double, d, blasname ) \ GENTPROT( scomplex, c, blasname ) \ GENTPROT( dcomplex, z, blasname ) +#define INSERT_GENTPROT_BLAS_CZ( blasname ) \ +\ +GENTPROT( scomplex, c, blasname ) \ +GENTPROT( dcomplex, z, blasname ) + // -- Basic one-operand macro with real domain only --