Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
BUG: Fix function declaration for half precision svml funcs
  • Loading branch information
Raghuveer Devulapalli
Raghuveer Devulapalli committed Jan 19, 2024
commit 0a0ac43e6d260a1365d2cca9534c7f4e1d26c253
42 changes: 21 additions & 21 deletions numpy/_core/src/common/npy_svml.h
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
#if NPY_SIMD && defined(NPY_HAVE_AVX512_SPR) && defined(NPY_CAN_LINK_SVML)
extern __m512h __svml_exps32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_exp2s32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_logs32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_log2s32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_log10s32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_expm1s32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_log1ps32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_cbrts32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_sins32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_coss32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_tans32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_asins32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_acoss32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_atans32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_atan2s32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_sinhs32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_coshs32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_tanhs32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_asinhs32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_acoshs32(const npy_half*, npy_half*, npy_intp);
extern __m512h __svml_atanhs32(const npy_half*, npy_half*, npy_intp);
extern void __svml_exps32(const npy_half*, npy_half*, npy_intp);
extern void __svml_exp2s32(const npy_half*, npy_half*, npy_intp);
extern void __svml_logs32(const npy_half*, npy_half*, npy_intp);
extern void __svml_log2s32(const npy_half*, npy_half*, npy_intp);
extern void __svml_log10s32(const npy_half*, npy_half*, npy_intp);
extern void __svml_expm1s32(const npy_half*, npy_half*, npy_intp);
extern void __svml_log1ps32(const npy_half*, npy_half*, npy_intp);
extern void __svml_cbrts32(const npy_half*, npy_half*, npy_intp);
extern void __svml_sins32(const npy_half*, npy_half*, npy_intp);
extern void __svml_coss32(const npy_half*, npy_half*, npy_intp);
extern void __svml_tans32(const npy_half*, npy_half*, npy_intp);
extern void __svml_asins32(const npy_half*, npy_half*, npy_intp);
extern void __svml_acoss32(const npy_half*, npy_half*, npy_intp);
extern void __svml_atans32(const npy_half*, npy_half*, npy_intp);
extern void __svml_atan2s32(const npy_half*, npy_half*, npy_intp);
extern void __svml_sinhs32(const npy_half*, npy_half*, npy_intp);
extern void __svml_coshs32(const npy_half*, npy_half*, npy_intp);
extern void __svml_tanhs32(const npy_half*, npy_half*, npy_intp);
extern void __svml_asinhs32(const npy_half*, npy_half*, npy_intp);
extern void __svml_acoshs32(const npy_half*, npy_half*, npy_intp);
extern void __svml_atanhs32(const npy_half*, npy_half*, npy_intp);
#endif

#if NPY_SIMD && defined(NPY_HAVE_AVX512_SKX) && defined(NPY_CAN_LINK_SVML)
Expand Down