8000 Fix features · numpy/numpy@9726c37 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9726c37

Browse files
committed
Fix features
1 parent 6457c75 commit 9726c37

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

numpy/core/src/umath/absolute.dispatch.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*@targets
2-
* $maxopt $keep_baseline avx512_skx asimd
2+
* $maxopt $keep_baseline
3+
* avx512_skx
4+
* asimd
35
*/
46

57
#define _UMATHMODULE
@@ -104,19 +106,19 @@ namespace numpy {
104106
extern "C" {
105107

106108
NPY_NO_EXPORT void
107-
INT_absolute(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func))
109+
NPY_CPU_DISPATCH_CURFX(INT_absolute)(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func))
108110
{
109111
HWY_STATIC_DISPATCH(INT_SuperAbsolute)(args, dimensions, steps);
110112
}
111113

112114
NPY_NO_EXPORT void
113-
DOUBLE_absolute(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func))
115+
NPY_CPU_DISPATCH_CURFX(DOUBLE_absolute)(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func))
114116
{
115117
HWY_STATIC_DISPATCH(DOUBLE_SuperAbsolute)(args, dimensions, steps);
116118
}
117119

118120
NPY_NO_EXPORT void
119-
FLOAT_absolute(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func))
121+
NPY_CPU_DISPATCH_CURFX(FLOAT_absolute)(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func))
120122
{
121123
HWY_STATIC_DISPATCH(FLOAT_SuperAbsolute)(args, dimensions, steps);
122124
}

0 commit comments

Comments
 (0)
0