8000 ENH: Use Highway's VQSort on AArch64 by Mousius · Pull Request #24018 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Use Highway's VQSort on AArch64 #24018

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 8 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Minor text fixes
  • Loading branch information
Mousius committed Nov 20, 2023
commit 278e1de19af89b920598368f151edd439c722f78
2 changes: 1 addition & 1 deletion numpy/_core/src/npysort/quicksort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ inline bool quicksort_dispatch(T *start, npy_intp num)
}
#if !DISABLE_HIGHWAY_OPTIMIZATION
else if (sizeof(T) == sizeof(uint32_t) || sizeof(T) == sizeof(uint64_t)) {
#if !defined(NPY_DISABLE_OPTIMIZATION)
#ifndef NPY_DISABLE_OPTIMIZATION
#include "simd_qsort.dispatch.h"
#endif
NPY_CPU_DISPATCH_CALL_XB(dispfunc = np::qsort_simd::template QSort, <TF>);
Expand Down
3 changes: 1 addition & 2 deletions numpy/_core/src/npysort/simd_qsort_16bit.dispatch.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*@targets
* $maxopt $keep_baseline
* avx512_icl avx512_spr
* $maxopt $keep_baseline avx512_icl avx512_spr
*/
// policy $keep_baseline is used to avoid skip building avx512_skx
// when its part of baseline features (--cpu-baseline), since
Expand Down
0