Proposal to rewrite special function kernels written in Cython in C++

Albert Steppi <[email protected]> Wed, 18 Oct 2023 11:13:23 -0400
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CAPceVpX3J8=JPx4tuYWh5L=tne5VGu_QeVUwu75yjun2vY2JPA@mail.gmail.com>
Hi team,

I've submitted an RFC issue https://github.com/scipy/scipy/issues/19404,
asking for thoughts about rewriting special functions written in Cython
into C++. The primary reason for doing so would be to allow other array
libraries such as CuPy, PyTorch, or Jax to make use of such functions
without having to reimplement them. Irwin Zaid has pointed out that if we
provide C++ header files with these functions, then it would be
straightforward to include them in other libraries. The impetus for this
comes from the desire for an array API extension for special functions.
Irwin has generously offered to review PRs for this, and I would be willing
to review any PRs of his, so reviewer bandwidth shouldn't be an issue.

Feel free to chime in at the issue linked above.

Best,
Albert

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]