Sympiler:通过解耦符号分析变换稀疏矩阵码
Sympiler: Transforming Sparse Matrix Codes by Decoupling Symbolic Analysis
摘要:
Sympiler是一个特定于域的代码生成器,它通过将稀疏代码中的符号分析阶段与数值操作阶段解耦来优化稀疏矩阵计算。稀疏数值方法的计算模式由输入稀疏结构和稀疏算法本身决定。在许多现实世界的模拟中,稀疏模式几乎没有变化或根本没有变化。Sympiler利用这些属性在编译时象征性地分析稀疏代码,并应用检查器引导的转换,从而将低级转换应用于稀疏代码。因此,Sympiler生成的代码优于来自常用专业库的高度优化的矩阵分解代码,分别比Eigen和CHOLMOD获得3.8倍和1.5倍的平均加速比。
英文摘要:
Sympiler is a domain-specific code generator that optimizes sparse matrix computations by decoupling the symbolic analysis phase from the numerical manipulation stage in sparse codes. The computation patterns in sparse numerical methods are guided by the input sparsity structure and the sparse algorithm itself. In many real-world simulations, the sparsity pattern changes little or not at all. Sympiler takes advantage of these properties to symbolically analyze sparse codes at compile-time and to apply inspector-guided transformations that enable applying low-level transformations to sparse codes. As a result, the Sympiler-generated code outperforms highly-optimized matrix factorization codes from commonly-used specialized libraries, obtaining average speedups over Eigen and CHOLMOD of 3.8X and 1.5X respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。