Matrix multiplication acceleration of sparse matrices using column folding and squeezing
Abstract
Disclosed embodiments relate to sparse matrix multiplication (SMM) acceleration using column folding and squeezing. In one example, a processor, in response to a SMM instruction having fields to specify locations of first, second, and output matrices, the second matrix being a sparse matrix, uses execution circuitry to pack the second matrix by replacing one or more zero-valued elements with non-zero elements yet to be processed, each of the replaced elements further including a field to identify its logical position within the second matrix, and, the execution circuitry further to, for each non-zero element at row M and column K of the specified first matrix, generate a product of the element and each corresponding non-zero element at row K, column N of the packed second matrix, and accumulate each generated product with a previous value of a corresponding element at row M and column N of the specified output matrix.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor comprising: fetch and decode circuitry to fetch and decode a sparse matrix multiplication (SMM) instruction having fields to specify locations of first, second, and output matrices, the second matrix being a sparse matrix, the fetch circuitry further to fetch and store elements of the first and second matrices into a register file; and execution circuitry, responsive to the SMM instruction, to pack the second matrix stored in the register file by replacing one or more zero-valued elements in a column N of the second matrix with non-zero elements yet to be processed, each of the rep
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (4)
- A. Morad, L. Yavits, and R. Ginosar, "Efficient dense and sparse matrix multiplication on GP-SIMD", 24th International Workshop on Power and Timing Modeling Optimization and Simulation (PATMOS), pp. 1-8, 2014 (Year: 2014).
- Han et al., "EIE: Efficient Inference Engine on Compressed Deep Neural Network", arXiv:1602.01528v2 [cs.CV], May 3, 2016, 12 pages.
- Parashar et al., "SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networks", 2017 ACM/IEEE 44th Annual International Symposium on Computer Architecture (ISCA), Jun. 24-28, 2017, 14 pages.
- Sardar Anisul Hague, "A Computational Study of Sparse Matrix Storage Schemes", M.Sc. Thesis, Department of Mathematics and Computer Science, University of Lethbridge, 2008 (Year: 2008).