在Tenstorrent Grayskull RISC-V加速器上加速stencils
Accelerating stencils on the Tenstorrent Grayskull RISC-V accelerator
AI总结:
本文探索stencils在Tenstorrent Grayskull RISC-V加速器上的适用性,通过优化代码结构,证明其性能媲美Xeon CPU且能耗降低约五倍。
摘要:
RISC-V指令集架构(ISA)近年来经历了惊人的增长,但在高性能计算(HPC)领域仍尚未普及。尽管在HPC中采用RISC-V CPU解决方案可能还有一段路要走,但基于RISC-V的PCIe加速器提供了一个折中方案,使供应商既能受益于RISC-V的灵活性,又能融入现有系统。本文聚焦于Tenstorrent Grayskull PCIe RISC-V加速器,该加速器基于Tensix核心构建,将数据移动与计算解耦。以Jacobi迭代方法为载体,我们探索了stencils在Grayskull e150上的适用性。我们探索了为该加速器构建这些代码的最佳实践,并证明e150提供了与Xeon Platinum CPU相似的性能(尽管是BF16对比FP32),但e150消耗的能量大约少五倍。在四个e150上,我们获得了约四倍于CPU的性能,同样消耗的能量大约少五倍。
英文摘要:
The RISC-V Instruction Set Architecture (ISA) has enjoyed phenomenal growth in recent years, however it still to gain popularity in HPC. Whilst adopting RISC-V CPU solutions in HPC might be some way off, RISC-V based PCIe accelerators offer a middle ground where vendors benefit from the flexibility of RISC-V yet fit into existing systems. In this paper we focus on the Tenstorrent Grayskull PCIe RISC-V based accelerator which, built upon Tensix cores, decouples data movement from compute. Using the Jacobi iterative method as a vehicle, we explore the suitability of stencils on the Grayskull e150. We explore best practice in structuring these codes for the accelerator and demonstrate that the e150 provides similar performance to a Xeon Platinum CPU (albeit BF16 vs FP32) but the e150 uses around five times less energy. Over four e150s we obtain around four times the CPU performance, again at around five times less energy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。