Skip to main content

matmul_cpu

Function matmul_cpu 

pub fn matmul_cpu(a: &[f32], b: &[f32], n: usize) -> Vec<f32>
Expand description

Row-major n×n matrix multiply reference: c[i][j] = sum_k a[i][k] * b[k][j].