Helper function to create zero matrix for testing GEMV and GEMM
(size: usize)
| 37 | |
| 38 | // Helper function to create zero matrix for testing GEMV and GEMM |
| 39 | fn zero_matrix(size: usize) -> Vec<[f32; VECTOR_SIZE]> { |
| 40 | vec![[0.0; VECTOR_SIZE]; size] |
| 41 | } |
| 42 | |
| 43 | // Helper function to create a matrix of ones for testing GEMV and GEMM |
| 44 | fn one_matrix(size: usize) -> Vec<[f32; VECTOR_SIZE]> { |
no outgoing calls