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

Work-in-Progress:在定制RISC-V多核向量处理器上的实时神经网络推理

Work-in-Progress: Real-Time Neural Network Inference on a Custom RISC-V Multicore Vector Processor

Maximilian Kirschner, Konstantin Dudzik, Jürgen Becker

AI总结:

提出一种具有可预测核心和本地暂存存储器的定制RISC-V多核向量处理器架构及配套编译器工具链,利用神经网络固定数据流和子任务WCET估计生成静态调度,实现高性能且可预测的实时神经网络推理。

摘要:

神经网络正越来越多地用于实时系统中,例如自动驾驶应用。这需要具有可预测时序行为的高性能硬件。最先进的实时硬件在内存和计算资源方面受到限制。另一方面,现代加速器系统缺乏必要的可预测性属性,主要是由于内存子系统中的干扰。我们提出了一种新的硬件架构,并配有基于编译器的部署工具链,以弥合性能与可预测性之间的差距。该硬件架构由一个具有可预测核心的多核向量处理器组成,每个核心都有本地暂存存储器。中央管理核心通过编译时计算的静态调度,促进对共享外部内存的访问。所提出的编译器利用神经网络的固定数据流和在各个核心上运行的子任务的WCET估计来计算此调度。通过这种方法,整个系统的WCET估计可以从子任务WCET估计、数据传输时间和共享内存的访问时间,结合编译器计算的调度中获得。

英文摘要:

Neural networks are increasingly used in real-time systems, such as automated driving applications. This requires high-performance hardware with predictable timing behavior. State-of-the-art real-time hardware is limited in memory and compute resources. On the other hand, modern accelerator systems lack the necessary predictability properties, mainly due to interference in the memory subsystem. We present a new hardware architecture with an accompanying compiler-based deployment toolchain to close this gap between performance and predictability. The hardware architecture consists of a multicore vector processor with predictable cores, each with local scratchpad memories. A central management core facilitates access to shared external memory through a static schedule calculated at compile-time. The presented compiler exploits the fixed data flow of neural networks and WCET estimates of subtasks running on individual cores to compute this schedule. Through this approach, the WCET estimate of the overall system can be obtained from the subtask WCET estimates, data transfer times, and access times of the shared memory in conjunction with the schedule calculated by the compiler.

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

↑