在FireSim上集成NVIDIA深度学习加速器(NVDLA)和RISC-V SoC
Integrating NVIDIA Deep Learning Accelerator (NVDLA) with RISC-V SoC on FireSim
摘要:
NVDLA是一个开源的深度神经网络(DNN)加速器,自Nvidia推出以来,受到了社区的广泛关注。它是一个功能齐全的硬件IP,可以作为一个很好的参考进行研究和开发的SoC与集成加速器。然而,需要昂贵的FPGA板在真实的SoC中使用该IP进行实验。此外,由于NVDLA在FPGA上以较低的频率进行时钟控制,因此很难使用这种设置进行准确的性能分析。为了克服这些限制,我们使用FireSim(一种周期精确的FPGA加速模拟器)将NVDLA集成到Amazon云FPGA上的真实RISC-V SoC中。然后,我们通过运行YOLOv 3目标检测算法来评估NVDLA的性能。我们的结果表明,NVDLA在运行YOLOv 3时可以维持7.5 fps。我们进一步分析了性能,显示与NVDLA共享最后一级缓存可以导致高达1.56倍的加速。然后,我们确定,共享的内存系统与加速器可能会导致不可预测的执行时间的实时任务在这个平台上运行。我们认为这是一个重要的问题,必须解决,以便片上DNN加速器被纳入实时嵌入式系统。
英文摘要:
NVDLA is an open-source deep neural network (DNN) accelerator which has received a lot of attention by the community since its introduction by Nvidia. It is a full-featured hardware IP and can serve as a good reference for conducting research and development of SoCs with integrated accelerators. However, an expensive FPGA board is required to do experiments with this IP in a real SoC. Moreover, since NVDLA is clocked at a lower frequency on an FPGA, it would be hard to do accurate performance analysis with such a setup. To overcome these limitations, we integrate NVDLA into a real RISC-V SoC on the Amazon cloud FPGA using FireSim, a cycle-exact FPGA-accelerated simulator. We then evaluate the performance of NVDLA by running YOLOv3 object-detection algorithm. Our results show that NVDLA can sustain 7.5 fps when running YOLOv3. We further analyze the performance by showing that sharing the last-level cache with NVDLA can result in up to 1.56x speedup. We then identify that sharing the memory system with the accelerator can result in unpredictable execution time for the real-time tasks running on this platform. We believe this is an important issue that must be addressed in order for on-chip DNN accelerators to be incorporated in real-time embedded systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。