Original py-numpy
This commit is contained in:
13
math/py-numpy/files/patch-clang
Normal file
13
math/py-numpy/files/patch-clang
Normal file
@ -0,0 +1,13 @@
|
||||
--- numpy/distutils/checks/cpu_avx512_spr.c.orig 2024-02-05 21:17:48 UTC
|
||||
+++ numpy/distutils/checks/cpu_avx512_spr.c
|
||||
@@ -15,10 +15,6 @@ int main(int argc, char **argv)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
-/* clang has a bug regarding our spr coode, see gh-23730. */
|
||||
-#if __clang__
|
||||
-#error
|
||||
-#endif
|
||||
__m512h a = _mm512_loadu_ph((void*)argv[argc-1]);
|
||||
__m512h temp = _mm512_fmadd_ph(a, a, a);
|
||||
_mm512_storeu_ph((void*)(argv[argc-1]), temp);
|
||||
Reference in New Issue
Block a user