Open antimora opened 1 year ago
Just to add some information: ndarray does not use explicit simd anywhere. Wasm would not be the first target we would add, but if explicit simd started to being used, it should of course be in a way that's generic enough to easily add it - if it's in stable Rust it is "straight forward".
A pointer towards what a plan would look like is this: https://github.com/rust-ndarray/ndarray/issues/46#issuecomment-438458138 abstract out numerical loops into a separate module or crate
Requesting to add SIMD support for Wasm build targets.
Burn project uses NDArray for one its backends. It is possible to build this backend for WASM target.
According to this blog post
So it seems the browsers and compiler support SIMD and it would be great if NDArray could also be enhanced with the support.