mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Define symbol dzgemm_blis_impl for non-zen configurations
Non-zen configurations will use frame/compat/bla_gemm.c rather than frame/compat/bla_gemm_amd.c. In the former, change dzgemm definition to have dzgemm_blis_impl and optional dzgemm_ wrapper, as in the AMD version. AMD-Internal: [CPUPL-4082] Change-Id: I66caff56e033bda8bb4ff2d60a16f7e52af122ea
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user