projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a986d42
)
Use runtime check for AVX512 (sgemm_direct) capability when using DYNAMIC_ARCH
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Thu, 26 Mar 2020 20:12:56 +0000
(21:12 +0100)
committer
GitHub
<noreply@github.com>
Thu, 26 Mar 2020 20:12:56 +0000
(21:12 +0100)
interface/gemm.c
patch
|
blob
|
history
diff --git
a/interface/gemm.c
b/interface/gemm.c
index
8a1d50f
..
0b18d9a
100644
(file)
--- a/
interface/gemm.c
+++ b/
interface/gemm.c
@@
-273,7
+273,7
@@
void CNAME(enum CBLAS_ORDER order, enum CBLAS_TRANSPOSE TransA, enum CBLAS_TRANS
#if !defined(COMPLEX) && !defined(DOUBLE) && defined(USE_SGEMM_KERNEL_DIRECT)
#ifdef DYNAMIC_ARCH
- if (
gotoblas == &gotoblas_SKYLAKEX
)
+ if (
support_avx512()
)
#endif
if (beta == 0 && alpha == 1.0 && order == CblasRowMajor && TransA == CblasNoTrans && TransB == CblasNoTrans && sgemm_kernel_direct_performant(m,n,k)) {
sgemm_kernel_direct(m, n, k, a, lda, b, ldb, c, ldc);