WingSpan: 稀疏与结构化张量编译器中的并发与依赖
WingSpan: Concurrency and Dependence for Sparse and Structured Tensor Compilers
AI总结:
提出WingSpan稀疏张量语言,支持任意并行循环与数据结构组合,引入依赖理论确保并行安全,在SpGEMM等核心内核上达到或超越手工优化性能。
摘要:
稀疏张量表示大部分为零或其他可压缩填充模式的数据。此类数据集可能非常庞大,因此已开发出优化的张量代数库和编译器来利用这些模式以提高性能。然而,现有系统通常缺乏对并行性的支持,尤其是在输出稀疏或多个输入稀疏的情况下。我们提出了WingSpan,一种支持无限制并行编程的稀疏张量语言。WingSpan支持并行循环和数据结构的任意组合,在SpGEMM等关键内核上达到或超越手工优化的并行例程的性能。我们还引入了一种依赖理论,用于涉及稀疏张量和超越稀疏性的结构的并行程序的安全性。
英文摘要:
Sparse tensors represent data that is mostly zero or some other compressible fill pattern. Such datasets can be massive, so optimized tensor algebra libraries and compilers have been developed to exploit these patterns to improve performance. Existing systems, however, frequently lack support for parallelism, especially when outputs are sparse or multiple inputs are sparse. We propose WingSpan, a sparse tensor language enabling unrestricted parallel programming. WingSpan supports arbitrary composition of parallel loops and data structures, matching or exceeding the performance of hand-optimized parallel routines on critical kernels such as SpGEMM. We also introduce a dependence theory for the safety of parallel programs involving sparse tensors and structures beyond sparsity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。