Need Argsort For 32Bit Index For 32Bit Types
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- performance
Research direction
Start by locating the existing argsort implementation that uses unsigned int64_t indexes and its AVX2 and AVX512 paths. Compare the requested int32_t index behavior with the mentioned i32gather_ps and epi32 instructions. Done means providing an int32_t-index argsort for 32-bit types with coverage for the relevant platforms and performance validation.
Written by the indexing model from the issue text.
Description
We only have argsort whose indexes are (unsigned) int64_t. For 32bit types like int/float, I think argsort with int32_t as index type can also be provided, which may performs better with avx512's i32gather_ps/epi32 instructions. Also, this function can be easily implemented in AVX2 plantforms.
- 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 ·