On 22/11/2025 1:59, Amelia Thurdekoos wrote:

Expose |halffloat.h| functionality through the regular NumPy C-API as |NpyHalf*|, without requiring the linking of |npymath| explicitly as a step toward removing the |npymath| static library altogether.


Amelia Thurdekoos

Staff Software Engineer, Quansight



I would be concerned about the performance impact of having to go through function calls for functions that are really macros, especially on platforms with built-in float16. Perhaps we could still use macros on those platforms.


We would have to check the benchmarks of consumers of the npymath library for impact. Do we know of consumers other than SciPy?

Matti

_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/numpy-discussion.python.org
Member address: [email protected]

Reply via email to