mlx/benchmarks/cpp
jhavukainen 8b9a3f3cea
Align mlx::core::max op nan propagation with NumPy (#2339)
* Make max op NaN propagation rules align with numpy

* Adding benchmarks and testing for max op nanpropagation

* Pre-commit formatting

* Fix max complex64 nan propagation and add test

* Improve the cpp unittest

* Only check nans on non-integral types in simd_reduce_impl.

* Cleanup using namespace alias

* Add cpu Max nanpropagation. Fix a small fib in cpu max dispatch data types for int8/int16.

* Make the max nanpropagation test more meaningful for integer types

* Remove tuple unpacking syntax to comply with earlier python versions. Add cuda skip to nanpropagation tests, fix cuda implementation in a separate PR.
2025-07-09 11:26:27 -07:00
..
autograd.cpp Remove "using namespace mlx::core" in benchmarks/examples (#1685) 2024-12-11 07:08:29 -08:00
CMakeLists.txt jagrit's commit files 2023-11-29 10:52:08 -08:00
compare_devices.cpp Remove "using namespace mlx::core" in benchmarks/examples (#1685) 2024-12-11 07:08:29 -08:00
irregular_strides.cpp Fix building cpp benchmarks on Linux (#2268) 2025-06-10 17:10:24 -07:00
single_ops.cpp Align mlx::core::max op nan propagation with NumPy (#2339) 2025-07-09 11:26:27 -07:00
time_utils.h Update pre-commit hooks (#984) 2024-04-11 07:27:53 -07:00