Matrix multiplication implementations and benchmarks