implemntations of gemm benchmarks