DPU-v2:不规则有向无环图的节能执行
DPU-v2: Energy-efficient execution of irregular directed acyclic graphs
摘要:
越来越多的应用,如概率机器学习、稀疏线性代数、机器人导航等,表现出可以用有向无环图(DAG)建模的不规则数据流计算。这种不规则性源于节点的随机连接,这使得DAG结构不适合在CPU或GPU上进行矢量化。此外,节点通常表示少量的算术运算,其不能分摊为每个节点启动任务/内核的开销,进一步对并行执行提出挑战。为了实现节能执行,这项工作提出了DAG处理单元(DPU)版本2,这是一种专门针对具有静态连接的不规则DAG进行优化的处理器架构。它包括一个树结构的数据路径,有效的数据重用,一个定制的银行寄存器文件,和互连调整,以支持不规则的寄存器访问。DPU-v2通过目标编译器有效地利用,该编译器系统地将操作映射到数据路径,最大限度地减少寄存器组冲突,并避免流水线危险。最后,设计空间探索确定最佳的架构配置,最大限度地减少能量延迟产品。这种硬件-软件协同优化方法分别在最先进的DAG处理器ASIP、CPU和GPU上实现了1.4 $\times$、3.5 $\times$和14 $\times$的加速,同时还实现了较低的能量延迟积。通过这种方式,这项工作朝着实现新兴DAG工作负载的嵌入式执行迈出了重要的一步。
英文摘要:
A growing number of applications like probabilistic machine learning, sparse linear algebra, robotic navigation, etc., exhibit irregular data flow computation that can be modeled with directed acyclic graphs (DAGs). The irregularity arises from the seemingly random connections of nodes, which makes the DAG structure unsuitable for vectorization on CPU or GPU. Moreover, the nodes usually represent a small number of arithmetic operations that cannot amortize the overhead of launching tasks/kernels for each node, further posing challenges for parallel execution. To enable energy-efficient execution, this work proposes DAG processing unit (DPU) version 2, a specialized processor architecture optimized for irregular DAGs with static connectivity. It consists of a tree-structured datapath for efficient data reuse, a customized banked register file, and interconnects tuned to support irregular register accesses. DPU-v2 is utilized effectively through a targeted compiler that systematically maps operations to the datapath, minimizes register bank conflicts, and avoids pipeline hazards. Finally, a design space exploration identifies the optimal architecture configuration that minimizes the energy-delay product. This hardware-software co-optimization approach results in a speedup of 1.4$\times$, 3.5$\times$, and 14$\times$ over a state-of-the-art DAG processor ASIP, a CPU, and a GPU, respectively, while also achieving a lower energy-delay product. In this way, this work takes an important step toward enabling an embedded execution of emerging DAG workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。