Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork11.9k
Open
Labels
Description
Describe the issue:
In numpy/_core/src/npysort/quicksort.cppif (sizeof(T) == sizeof(uint16_t)) should be modified with "constexpr", and the same applies to the followingif (sizeof(T) == sizeof(uint32_t) || sizeof(T) == sizeof(uint64_t)).
Other similar parts of the code have already been updated, so this seems to be a missed case.
Reproduce the code example:
Itcauseslinkerrorifoptimizationisdiabled,like:unresolvedexternalsymbol"void __cdecl np::qsort_simd::QSort_AVX512_SKX<short>(short *,int)" (??$QSort_AVX512_SKX@F@qsort_simd@np@@YAXPAFH@Z),referencedby"bool __cdecl quicksort_dispatch<short>(short *,int)" (??$quicksort_dispatch@F@@YA_NPAFH@Z)
Error message:
Python and NumPy Versions:
2.3.5, 3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)]
Runtime Environment:
No response
Context for the issue:
No response