稀疏三角形求解的图形变换和专用代码生成(SpTRSV)
Graph Transformation and Specialized Code Generation For Sparse Triangular Solve (SpTRSV)
摘要:
稀疏三角求解(Sparse Triangular Solve,SpTRSV)是稀疏线性代数系统求解的重要计算核心,在许多科学和工程应用中得到了广泛的应用。在目前的体系结构中,SpTRSV的并行化是很困难的。由于计算之间的依赖性和计算的不规则性质而导致的有限并行性需要有效的负载均衡和同步机制方法。在这项工作中,我们提出了一种新的图形转换方法,表示行的方程被重写,以打破依赖关系。使用这种方法,我们提出了一个依赖图变换和代码生成框架,增加了稀疏矩阵的部分,它是稀缺的并行性,减少了同步点的需要。此外,所提出的框架使用特定于域的优化在CPU上为转换后的依赖图生成专门的代码。
英文摘要:
Sparse Triangular Solve (SpTRSV) is an important computational kernel used in the solution of sparse linear algebra systems in many scientific and engineering applications. It is diffcult to parallelize SpTRSV in today's architectures. The limited parallelism due to the dependencies between calculations and the irregular nature of the computations require an effective load balancing and synchronization mechanism approach. In this work, we present a novel graph transformation method where the equation representing a row is rewritten to break the dependencies. Using this approach, we propose a dependency graph transformation and code generation framework that increases the parallelism of the parts of a sparse matrix where it is scarce, reducing the need for synchronization points. In addition, the proposed framework generates specialized code for the transformed dependency graph on CPUs using domain-specific optimizations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。