bluss / matrixmultiply

General matrix multiplication of f32 and f64 matrices in Rust. Supports matrices with general strides.
https://docs.rs/matrixmultiply/
Apache License 2.0
209 stars 25 forks source link

Use ifunc strategy or other ways to only check target feature existance once #23

Open bluss opened 5 years ago

bluss commented 5 years ago

See memchr code at https://github.com/BurntSushi/rust-memchr/blob/451d16d440928b5547b92317fd83fc4c937b7b91/src/x86/mod.rs

bluss commented 5 years ago

Since #37 we only check target feature selection once per sgemm/dgemm call (doesn't make much of a difference per se), and we are ready for caching if it's needed.