arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.12760cs.AR
收藏

Capstan:稀疏性的矢量RDA

Capstan: A Vector RDA for Sparsity

Alexander Rucker, Matthew Vilim, Tian Zhao, Yaqi Zhang, Raghu Prabhakar, Kunle Olukotun

摘要:

本文提出了一种可扩展的,基于并行模式的,可重构的稀疏和密集张量应用的并行加速器(RDA)。我们不是为一个应用程序设计,而是从常见的稀疏数据格式开始,每种格式都支持多个应用程序。使用声明式编程模型,Capstan支持独立于应用程序的稀疏迭代和内存原语,这些原语可以映射到矢量化的高性能硬件。我们通过可配置的乱序执行优化了随机存取稀疏存储器,将SRAM随机存取吞吐量从32%提高到80%。对于各种稀疏应用程序,采用DDR4内存的Capstan比多核CPU基准快18倍,而采用HBM2内存的Capstan比Nvidia V100 GPU快16倍。对于可以映射到Plasticine(最近的密集RDA)的稀疏应用程序,Capstan的速度快了7.6倍到365倍,仅大了16%。

英文摘要:

This paper proposes Capstan: a scalable, parallel-patterns-based, reconfigurable dataflow accelerator (RDA) for sparse and dense tensor applications. Instead of designing for one application, we start with common sparse data formats, each of which supports multiple applications. Using a declarative programming model, Capstan supports application-independent sparse iteration and memory primitives that can be mapped to vectorized, high-performance hardware. We optimize random-access sparse memories with configurable out-of-order execution to increase SRAM random-access throughput from 32% to 80%. For a variety of sparse applications, Capstan with DDR4 memory is 18x faster than a multi-core CPU baseline, while Capstan with HBM2 memory is 16x faster than an Nvidia V100 GPU. For sparse applications that can be mapped to Plasticine, a recent dense RDA, Capstan is 7.6x to 365x faster and only 16% larger.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑