An optimized sparse approximate matrix multiply for matrices with decay

From MaRDI portal



Abstract: We present an optimized single-precision implementation of the Sparse Approximate Matrix Multiply (SpAMM{}) [M. Challacombe and N. Bock, arXiv {�f 1011.3534} (2010)], a fast algorithm for matrix-matrix multiplication for matrices with decay that achieves an mathcalO(nlogn) computational complexity with respect to matrix dimension n. We find that the max norm of the error achieved with a SpAMM{} tolerance below 2imes10−8 is lower than that of the single-precision { t SGEMM} for dense quantum chemical matrices, while outperforming { t SGEMM} with a cross-over already for small matrices (nsim1000). Relative to naive implementations of SpAMM{} using Intel's Math Kernel Library ({ t MKL}) or AMD's Core Math Library ({ t ACML}), our optimized version is found to be significantly faster. Detailed performance comparisons are made for quantum chemical matrices with differently structured sub-blocks. Finally, we discuss the potential of improved hardware prefetch to yield 2--3x speedups.






Describes a project that uses

Uses Software






This page was built for publication: An optimized sparse approximate matrix multiply for matrices with decay

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4917165)