Skip to content

Conversation

@r-devulap
Copy link
Member

Updates x86-simd-sort submodule and also fixes #29560

@github-actions github-actions bot added the 36 - Build Build related PR label Sep 10, 2025
@mattip
Copy link
Member

mattip commented Sep 10, 2025

There is a failure due to -Werrror=unused-function

In file included from ../numpy/_core/src/npysort/x86_simd_qsort_16bit.dispatch.cpp:4:
../numpy/_core/src/npysort/x86-simd-sort/src/x86simdsort-static-incl.h:193:6: error: ‘void x86simdsortStatic::partial_qsort(T*, size_t, size_t, bool, bool) [with T = _Float16]’ defined but not used [-Werror=unused-function]
  193 | void x86simdsortStatic::partial_qsort<_Float16>(

@r-devulap
Copy link
Member Author

There is a failure due to -Werrror=unused-function

In file included from ../numpy/_core/src/npysort/x86_simd_qsort_16bit.dispatch.cpp:4:
../numpy/_core/src/npysort/x86-simd-sort/src/x86simdsort-static-incl.h:193:6: error: ‘void x86simdsortStatic::partial_qsort(T*, size_t, size_t, bool, bool) [with T = _Float16]’ defined but not used [-Werror=unused-function]
  193 | void x86simdsortStatic::partial_qsort<_Float16>(

thanks! Hopefully it should be fixed now.

@mattip
Copy link
Member

mattip commented Sep 12, 2025

LGTM. The previous commit was c306ac581a59f89585d778254c4ed7197e64ba2d, and there seems to be many commits since, mainly around enabling OPENMP threading which is not relevant for NumPy. Does the update influence any perfomance benchmarks? If so, maybe a release note would be nice.

@r-devulap
Copy link
Member Author

r-devulap commented Sep 15, 2025

Thanks for catching that, @mattip. You’re right — this patch enables OpenMP support for the 16-bit dtype. That does assume NumPy is built with OpenMP, which is disabled by default. Would you like me to add a release note about this?

@mattip
Copy link
Member

mattip commented Sep 16, 2025

Not specifically about OpenMP, but if there are other performance enhancements then maybe a small release note would be nice. I will merge this to unblock the bug-fix.

@mattip mattip merged commit 2456c7e into main Sep 16, 2025
77 checks passed
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Sep 22, 2025
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Sep 22, 2025
@jorenham jorenham deleted the xss-build-fix-knl branch October 21, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

36 - Build Build related PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Build failure with Knights Landing CPUs

3 participants