matrixmultiply 0.1.15

General matrix multiplication of f32 and f64 matrices in Rust. Supports matrices with general strides. Uses a microkernel strategy, so that the implementation is easy to parallelize and optimize. `RUSTFLAGS="-C target-cpu=native"` is your friend here.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14

//!

use std::env;

fn main() {
    println!("cargo:rerun-if-changed=build.rs");

    if let Ok(features) = env::var("CARGO_CFG_TARGET_FEATURE") {
        if features.split(",").map(|s| s.trim()).any(|feat| feat == "avx") {
            println!("cargo:rustc-cfg=sgemm_8x8");
        }
    }
}