Skip to content

Instantly share code, notes, and snippets.

@JRF63
JRF63 / lib.rs
Created October 30, 2020 10:37
Matrix multiply microbenchmark for Polly in Rust
#![allow(dead_code)]
#![feature(test)]
extern crate test;
use test::Bencher;
const N: usize = 256;
#[repr(C, align(16))]
struct Matrix([f64; N * N]);