跳到主要导航 跳到搜索 跳到主要内容

Control Flow Divergence Optimization by Exploiting Tensor Cores

  • Weiguang Pang
  • , Xu Jiang*
  • , Songran Liu
  • , Lei Qiao
  • , Kexue Fu
  • , Longxiang Gao
  • , Wang Yi
  • *此作品的通讯作者
  • University of Electronic Science and Technology of China
  • Qilu University of Technology
  • Shandong Fundamental Research Center for Computer Science
  • Northeastern University China
  • CAS - Beijing Institute of Control Engineering
  • Uppsala University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Kernels are scheduled on Graphics Processing Units (GPUs) in the granularity of GPU warp, which is a bunch of threads that must be scheduled together. When executing kernels with conditional branches, the threads within a warp may execute different branches sequentially, resulting in a considerable utilization loss and unpredictable execution time. This problem is known as the control flow divergence. In this work, we propose a novel method to predict threads' execution path before the launch of the kernel by deploying a branch prediction network on the GPU's tensor cores, which can efficiently parallel run with the kernels on CUDA cores, so that the divergence problem can be eased in a large extent with the lowest overhead. Combined with a well-designed thread data reorganization algorithm, this solution can better mitigate GPUs' control flow divergence problem.

源语言英语
主期刊名Proceedings of the 61st ACM/IEEE Design Automation Conference, DAC 2024
出版商Institute of Electrical and Electronics Engineers Inc.
ISBN(电子版)9798400706011
DOI
出版状态已出版 - 7 11月 2024
已对外发布
活动61st ACM/IEEE Design Automation Conference, DAC 2024 - San Francisco, 美国
期限: 23 6月 202427 6月 2024

出版系列

姓名Proceedings - Design Automation Conference
ISSN(印刷版)0738-100X

会议

会议61st ACM/IEEE Design Automation Conference, DAC 2024
国家/地区美国
San Francisco
时期23/06/2427/06/24

学术指纹

探究 'Control Flow Divergence Optimization by Exploiting Tensor Cores' 的科研主题。它们共同构成独一无二的学术指纹。

引用此