8000 ENH: Use AVX for float32 implementation of np.sin & np.cos by r-devulap · Pull Request #13368 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Use AVX for float32 implementation of np.sin & np.cos #13368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 18, 2019
Prev Previous commit
Next Next commit
BUG: eliminate unsed variables warning in cpuid
  • Loading branch information
Raghuveer Devulapalli committed Aug 3, 2019
commit 0f78154c046a8f25fed6266fe4dbf4c903b6c4ce
2 changes: 1 addition & 1 deletion numpy/core/src/umath/cpuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
0