66// 'baseline' option isn't specified within targets.
77
88#include " simd_qsort.hpp"
9+ #ifndef __CYGWIN__
910
1011#if defined(NPY_HAVE_AVX512_SPR)
1112 #include " x86-simd-sort/src/avx512fp16-16bit-qsort.hpp"
1516 */
1617void avx512_qsort_uint16 (uint16_t *, intptr_t );
1718void avx512_qsort_int16 (int16_t *, intptr_t );
18- void avx512_qselect_uint16 (uint16_t *, npy_intp, npy_intp)
19- void avx512_qselect_int16(int16_t *, npy_intp, npy_intp)
19+ void avx512_qselect_uint16 (uint16_t *, npy_intp, npy_intp);
20+ void avx512_qselect_int16 (int16_t *, npy_intp, npy_intp);
2021
2122#elif defined(NPY_HAVE_AVX512_ICL)
2223 #include " x86-simd-sort/src/avx512-16bit-qsort.hpp"
2324/* Wrapper function defintions here: */
24- #ifndef __CYGWIN__
2525void avx512_qsort_uint16 (uint16_t * arr, intptr_t size)
2626{
2727 avx512_qsort (arr, size);
@@ -38,7 +38,6 @@ void avx512_qselect_int16(int16_t* arr, npy_intp kth, npy_intp size)
3838{
3939 avx512_qselect (arr, kth, size, true );
4040}
41- #endif // __CYGWIN__
4241#endif
4342
4443namespace np { namespace qsort_simd {
@@ -47,7 +46,6 @@ namespace np { namespace qsort_simd {
4746 * QSelect dispatch functions:
4847 */
4948#if defined(NPY_HAVE_AVX512_ICL) || defined(NPY_HAVE_AVX512_SPR)
50- #ifndef __CYGWIN__
5149template <> void NPY_CPU_DISPATCH_CURFX (QSelect)(Half *arr, npy_intp num, npy_intp kth)
5250{
5351#if defined(NPY_HAVE_AVX512_SPR)
@@ -102,7 +100,8 @@ template<> void NPY_CPU_DISPATCH_CURFX(QSort)(int16_t *arr, intptr_t size)
102100 avx512_qsort (arr, size);
103101#endif
104102}
105- #endif // __CYGWIN__
106103#endif // NPY_HAVE_AVX512_ICL || SPR
107104
108105}} // namespace np::qsort_simd
106+
107+ #endif // __CYGWIN__
0 commit comments