8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26f8b11 + 6edf451 commit 91d9bbeCopy full SHA for 91d9bbe
numpy/core/src/common/simd/avx512/conversion.h
@@ -56,7 +56,7 @@ NPY_FINLINE npy_uint64 npyv_tobits_b8(npyv_b8 a)
56
{
57
#ifdef NPY_HAVE_AVX512BW_MASK
58
return (npy_uint64)_cvtmask64_u64(a);
59
-#elif NPY_HAVE_AVX512BW
+#elif defined(NPY_HAVE_AVX512BW)
60
return (npy_uint64)a;
61
#else
62
int mask_lo = _mm256_movemask_epi8(npyv512_lower_si256(a));
@@ -68,7 +68,7 @@ NPY_FINLINE npy_uint64 npyv_tobits_b16(npyv_b16 a)
68
69
70
return (npy_uint32)_cvtmask32_u32(a);
71
72
return (npy_uint32)a;
73
74
__m256i pack = _mm256_packs_epi16(
0 commit comments