发明名称 Compression system and method for accelerating sparse matrix computations
摘要 The present invention involves a sparse matrix processing system and method which uses sparse matrices that are compressed to reduce memory traffic and improve performance of computations using sparse matrices.
申请公布号 US8775495(B2) 申请公布日期 2014.07.08
申请号 US200711673944 申请日期 2007.02.12
申请人 Indiana University Research and Technology 发明人 Lumsdaine Andrew;Willcock Jeremiah
分类号 G06F7/32;G06F7/52;H03M7/30;G06F17/16 主分类号 G06F7/32
代理机构 Faegre Baker Daniels 代理人 Faegre Baker Daniels
主权项 1. A method of improving the processing of sparse matrices by a computer system having a limited memory bandwidth, a processor capable of compressing and decompressing data, and a computer readable storage medium that can be used in connection with the processor, the method comprising: applying, using the processor, a compression algorithm to compress row index data and column index data of a sparse matrix, the compression algorithm including generating command codes and argument bytes for the matrix,inserting a first command code between rows of the matrix,for each low of the matrix, processing groups of up to four adjacent non-zero elements by encoding a position difference between adjacent groups as argument bytes, using a second command code for an argument greater than one byte corresponding to a size of the groups, andpacking the command codes and argument bytes into words including three command codes per word; storing the compressed row and column index data of the sparse matrix; and accessing, using the processor, the sparse matrix using a merged decompression/matrix-vector multiplication algorithm on the compressed index data and a vector.
地址 Indianapolis IN US