- make-blas-egg-backendprocedure
Return a blas-backend record (see array-morphisms-blas-exec) with:
- GEMM, GEMV, DOT and AXPY for f32 and f64, through the sgemm!, dgemm!, ... procedures of the blas egg;
- the convolution hooks of array-morphisms, for NCHW and NHWC images: im2col, GEMM and bias addition for the forward pass, and the two backward passes, with the im2col and col2im steps in C;
- the optional offset kernels: GEMM and DOT on matrices and vectors that start at an offset into their vectors. They call cblas_sgemm, cblas_dgemm, cblas_sdot and cblas_ddot directly, with the same arguments as the other kernels apart from the start addresses, so their results are the same. array-morphisms uses them to run the cells of a batched product and the rows of a framed sum in place.