summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2019-03-06 22:40:26 +0100
committerGitHub <noreply@github.com>2019-03-06 22:40:26 +0100
commit4741ce803bd13acb4ff0ff1cf57f7a64cf7ef77c (patch)
tree8c2772775b30a5726d0b437bd23d01fcfc3b51ed /driver
parent651ab01d2b552dd979120edd44cf0ccb0031bed1 (diff)
parent11cfd0bd75a1ce8714ca3abf6867d3f45548dab1 (diff)
downloadopenblas-4741ce803bd13acb4ff0ff1cf57f7a64cf7ef77c.tar.gz
openblas-4741ce803bd13acb4ff0ff1cf57f7a64cf7ef77c.tar.bz2
openblas-4741ce803bd13acb4ff0ff1cf57f7a64cf7ef77c.zip
Merge pull request #2045 from martin-frbg/2033-3
Do not compile in AVX512 check if AVX support is disabled
Diffstat (limited to 'driver')
-rw-r--r--driver/others/dynamic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/others/dynamic.c b/driver/others/dynamic.c
index 99c9254ac..46dfaea6c 100644
--- a/driver/others/dynamic.c
+++ b/driver/others/dynamic.c
@@ -322,7 +322,7 @@ int support_avx2(){
}
int support_avx512(){
-#ifndef NO_AVX512
+#if !defined(NO_AVX) && !defined(NO_AVX512)
int eax, ebx, ecx, edx;
int ret=0;