hfp
Re:GEMM: From Pure C to SSE Optimized Micro Kernels (2014)
on Monday March 19, 2018 @05:50AM (#16617193)
* Small Matrix Multiplication: https://github.com/hfp/libxsmm/wiki/Q&A#what-is-a-small-matr...
* Big(ger) Matrix Multiplication: https://github.com/hfp/libxsmm/wiki/Q&A#what-about-medium-si...
There is indeed no support for 32-bit. Regarding integers, LIBXSMM supports lower-precision GEMM. However, we haven't fully represented this in our usual sample code (samples/xgemm, samples/bgemm).
Put aside a tiling scheme for big matrices - the code generation for low-precision GEMM kernels is here:
* https://github.com/hfp/libxsmm/blob/master/src/template/libx...
* https://github.com/hfp/libxsmm/blob/master/src/template/libx...
* Generic: https://github.com/hfp/libxsmm/blob/master/src/template/libx... with https://github.com/hfp/libxsmm/blob/master/include/libxsmm_g...
* C++: https://github.com/hfp/libxsmm/blob/master/src/template/libx...