Helper function to create a matrix of ones for testing GEMV and GEMM
(size: usize)
| 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]> { |
| 45 | vec![[1.0; VECTOR_SIZE]; size] |
| 46 | } |
| 47 | |
| 48 | // Test GEMV with identity matrix |
| 49 | #[test] |
no outgoing calls