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:
21c0f2a
)
Fix missing braces in support_avx()
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Mon, 14 Jan 2019 21:38:32 +0000
(22:38 +0100)
committer
GitHub
<noreply@github.com>
Mon, 14 Jan 2019 21:38:32 +0000
(22:38 +0100)
cpuid_x86.c
patch
|
blob
|
history
diff --git
a/cpuid_x86.c
b/cpuid_x86.c
index
377267f
..
74cc665
100644
(file)
--- a/
cpuid_x86.c
+++ b/
cpuid_x86.c
@@
-216,7
+216,7
@@
int support_avx2(){
int eax, ebx, ecx=0, edx;
int ret=0;
- if (!support_avx)
+ if (!support_avx
()
)
return 0;
cpuid(7, &eax, &ebx, &ecx, &edx);
if((ebx & (1<<7)) != 0)
@@
-232,7
+232,7
@@
int support_avx512(){
int eax, ebx, ecx, edx;
int ret=0;
- if (!support_avx)
+ if (!support_avx
()
)
return 0;
cpuid(7, &eax, &ebx, &ecx, &edx);
if((ebx & 32) != 32){