arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1711.10374cs.AR
收藏

超低功耗跨精度浮点计算平台

A Transprecision Floating-Point Platform for Ultra-Low Power Computing

Giuseppe Tagliavini, Stefan Mach, Davide Rossi, Andrea Marongiu, Luca Benini

摘要:

在现代低功耗嵌入式平台中,浮点(FP)运算成为具有大动态范围的计算密集型应用的能耗的主要贡献者。实验证据表明,核心及其数据存储器所消耗的能量的50%与FP计算有关。采用需要较低位数的FP格式是减少能耗的一个有趣机会,因为它允许简化算术电路并通过启用向量化来减少存储器与寄存器之间的内存带宽。从理论角度来看,采用多种FP类型完全符合transprecision计算的原理,允许对近似进行细粒度控制,同时满足对最终结果精度的特定约束。在本文中,我们提出了一个扩展的FP类型的系统,具有完整的硬件支持,使transprecision计算的低功耗嵌入式处理器,包括两个标准格式(binary32和binary16)和两个新的格式(binary8和binary16alt)。首先,我们介绍了一个软件库,使探索FP类型通过调整精度和动态范围的程序变量。然后,我们提出了一种方法,将我们的库与外部工具进行精确调整,并通过实验结果突出了引入新格式的明显好处。最后,我们提出了一个transprecision FP单元的设计,能够处理8位和16位的操作,除了标准的32位操作。在FP密集型基准测试上的实验结果表明,高达90%的FP操作可以安全地缩减到8位或16位格式。由于精确调优和矢量化,执行时间平均减少了12%,内存访问平均减少了27%,从而使能耗减少了30%。

英文摘要:

In modern low-power embedded platforms, floating-point (FP) operations emerge as a major contributor to the energy consumption of compute-intensive applications with large dynamic range. Experimental evidence shows that 50% of the energy consumed by a core and its data memory is related to FP computations. The adoption of FP formats requiring a lower number of bits is an interesting opportunity to reduce energy consumption, since it allows to simplify the arithmetic circuitry and to reduce the memory bandwidth between memory and registers by enabling vectorization. From a theoretical point of view, the adoption of multiple FP types perfectly fits with the principle of transprecision computing, allowing fine-grained control of approximation while meeting specified constraints on the precision of final results. In this paper we propose an extended FP type system with complete hardware support to enable transprecision computing on low-power embedded processors, including two standard formats (binary32 and binary16) and two new formats (binary8 and binary16alt). First, we introduce a software library that enables exploration of FP types by tuning both precision and dynamic range of program variables. Then, we present a methodology to integrate our library with an external tool for precision tuning, and experimental results that highlight the clear benefits of introducing the new formats. Finally, we present the design of a transprecision FP unit capable of handling 8-bit and 16-bit operations in addition to standard 32-bit operations. Experimental results on FP-intensive benchmarks show that up to 90% of FP operations can be safely scaled down to 8-bit or 16-bit formats. Thanks to precision tuning and vectorization, execution time is decreased by 12% and memory accesses are reduced by 27% on average, leading to a reduction of energy consumption up to 30%.

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

↑