自动化生成高能效GPU内核:一种基于快速搜索的编译方法
Automating Energy-Efficient GPU Kernel Generation: A Fast Search-Based Compilation Approach
AI总结:
针对GPU部署深度神经网络(DNNs)能耗高的问题,本文提出基于搜索的编译方法,结合能效搜索过程、高级内核特征能耗成本模型及动态更新策略,生成的GPU内核能耗降低达21.69%且保持低延迟。
摘要:
深度神经网络(DNNs)已彻底改变多个领域,但其在GPU上的部署常导致显著的能耗。与现有降低GPU能耗的方法不同——这些方法要么硬件不灵活,要么受限于工作负载约束,本文在GPU内核层面解决该问题。我们提出一种新颖的基于搜索的编译方法,通过将能效纳入搜索过程来生成高能效GPU内核。为加速能耗评估过程,我们基于高级内核特征开发了一个准确的能耗成本模型。此外,我们为能耗成本模型引入动态更新策略,减少对设备上能耗测量的需求并加速搜索过程。我们的评估表明,所提出的方法能生成能耗降低高达21.69%的GPU内核,同时保持低延迟。
英文摘要:
Deep Neural Networks (DNNs) have revolutionized various fields, but their deployment on GPUs often leads to significant energy consumption. Unlike existing methods for reducing GPU energy consumption, which are either hardware-inflexible or limited by workload constraints, this paper addresses the problem at the GPU kernel level. We propose a novel search-based compilation method to generate energy-efficient GPU kernels by incorporating energy efficiency into the search process. To accelerate the energy evaluation process, we develop an accurate energy cost model based on high-level kernel features. Furthermore, we introduce a dynamic updating strategy for the energy cost model, reducing the need for on-device energy measurements and accelerating the search process. Our evaluation demonstrates that the proposed approach can generate GPU kernels with up to 21.69% reduced energy consumption while maintaining low latency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。