diff options
author | Raghuveer Devulapalli <raghuveer.devulapalli@intel.com> | 2019-05-23 11:31:51 -0700 |
---|---|---|
committer | Raghuveer Devulapalli <raghuveer.devulapalli@intel.com> | 2019-08-03 10:50:04 -0700 |
commit | 0f78154c046a8f25fed6266fe4dbf4c903b6c4ce (patch) | |
tree | 80651d3abba3255b40cea328adca0761dbc15f00 | |
parent | 8589d4839dab4158abe1b241390c3d3838445721 (diff) | |
download | numpy-0f78154c046a8f25fed6266fe4dbf4c903b6c4ce.tar.gz |
BUG: eliminate unsed variables warning in cpuid
-rw-r--r-- | numpy/core/src/umath/cpuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/cpuid.c b/numpy/core/src/umath/cpuid.c index 9d4ba13d8..72c6493e8 100644 --- a/numpy/core/src/umath/cpuid.c +++ b/numpy/core/src/umath/cpuid.c @@ -51,9 +51,9 @@ int os_avx512_support(void) static NPY_INLINE int cpu_supports_fma(void) { +#ifdef __x86_64__ unsigned int feature = 0x01; unsigned int a, b, c, d; -#ifdef __x86_64__ __asm__ volatile ( "cpuid" "\n\t" : "=a" (a), "=b" (b), "=c" (c), "=d" (d) |