Improve vector FP16 comparison function
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- performance
Research direction
Start at src/avx512-16bit-qsort.hpp around line 65, where the vector FP16 comparison function is located, and compare its operations with the NumPy reference in npysort_common.h around line 153. Done means preserving comparison behavior while reducing the operations used by the SIMD implementation.
Written by the indexing model from the issue text.
Description
I suspect this function https://github.com/intel/x86-simd-sort/blob/7d7591cf5927e83e4a1e7c4b6f2c4dc91a97889f/src/avx512-16bit-qsort.hpp#L65 can be improved with fewer operations. See:
https://github.com/numpy/numpy/blob/0bd56e7ec12f8ceeb8d082340e71e60b873d5c57/numpy/core/src/npysort/npysort_common.h#L153 for reference.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 79
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from numpy/x86-simd-sort
-
check_cpu_feature_support makes repeated/unnecessary calls to std::getenv("XSS_DISABLE_AVX512")Open
Difficulty 1/5 Under an hour Newbie friendliness 84/100
numpy/x86-simd-sort#239 · 1 comment ·
-
v8.0 release?Open
Difficulty 2/5 1-3 hours Newbie friendliness 43/100
numpy/x86-simd-sort#248 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
numpy/x86-simd-sort#221 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
numpy/x86-simd-sort#210 · 13 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
numpy/x86-simd-sort#189 · 8 comments ·
All issues in numpy/x86-simd-sort
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 2 days
-
Missing repro Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/react-native-reanimated#11554 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Niko1221/Strata#7211 · 3 comments ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sleepyviper1213/redis#52 ·