arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.10794cs.AR
收藏

边栏:CPU和加速器之间基于Sockchpad的通信

Sidebar: Scratchpad Based Communication Between CPUs and Accelerators

Ayoosh Bansal, Chance Coats, Evan Lissoos, Benjamin Schreiber

摘要:

神经网络的硬件加速器在性能和功耗方面都表现出了巨大的潜力。这些加速器在针对固定功能进行优化时效率最高。但这种可扩展性限制了硬件本身的寿命,因为底层的神经网络算法和结构正在经历改进和变化。我们提出并评估了一个灵活的设计模式,加速器与主机处理器的密切协调。相对静态的矩阵运算在专用加速器中实现,而快速演化的函数(如激活)在主机处理器上计算。这种架构是由一个低延迟的共享缓冲区,我们称之为侧边栏。侧边存储器在加速器和主机之间共享,存在于程序地址空间之外,仅保存中间数据。我们表明,一个广义DMA依赖灵活的加速器设计性能和能量相比,一个等效的固定功能加速器表现不佳。基于侧边栏的加速器设计实现了与等效的固定功能加速器几乎相同的性能和能量,同时仍然提供主机处理器上的计算激活的所有灵活性。

英文摘要:

Hardware accelerators for neural networks have shown great promise for both performance and power. These accelerators are at their most efficient when optimized for a fixed functionality. But this inflexibility limits the longevity of the hardware itself as the underlying neural network algorithms and structures undergo improvements and changes. We propose and evaluate a flexible design paradigm for accelerators with a close coordination with host processors. The relatively static matrix operations are implemented in specialized accelerators while fast-evolving functions, such as activations, are computed on the host processor. This architecture is enabled by a low latency shared buffer we call Sidebar. Sidebar memory is shared between the accelerator and host, exists outside of program address space and holds intermediate data only. We show that a generalised DMA dependent flexible accelerator design performs poorly in both perf and energy as compared to an equivalent fixed function accelerator. Sidebar based accelerator design achieves near identical performance and energy to equivalent fixed function accelerator while still providing all the flexibility of computing activations on the host processor.

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

↑