首页> 外文会议>International Symposium on Microarchitecture >KLAP: Kernel launch aggregation and promotion for optimizing dynamic parallelism
【24h】

KLAP: Kernel launch aggregation and promotion for optimizing dynamic parallelism

机译:KLAP:内核启动聚合和促销以优化动态并行性

获取原文
获取外文期刊封面目录资料

摘要

Dynamic parallelism on GPUs simplifies the programming of many classes of applications that generate paral-lelizable work not known prior to execution. However, modern GPUs architectures do not support dynamic parallelism efficiently due to the high kernel launch overhead, limited number of simultaneous kernels, and limited depth of dynamic calls a device can support. In this paper, we propose Kernel Launch Aggregation and Promotion (KLAP), a set of compiler techniques that improve the performance of kernels which use dynamic parallelism. Kernel launch aggregation fuses kernels launched by threads in the same warp, block, or kernel into a single aggregated kernel, thereby reducing the total number of kernels spawned and increasing the amount of work per kernel to improve occupancy. Kernel launch promotion enables early launch of child kernels to extract more parallelism between parents and children, and to aggregate kernel launches across generations mitigating the problem of limited depth. We implement our techniques in a real compiler and show that kernel launch aggregation obtains a geometric mean speedup of 6.58x over regular dynamic parallelism. We also show that kernel launch promotion enables cases that were not originally possible, improving throughput by a geometric mean of 30.44 x.
机译:GPU上的动态并行性简化了许多类应用程序的编程,在执行之前未知的不可知的工作。然而,由于高内核发射开销,有限数量的同时内核,并且设备可以支持,现代GPU架构不高效地支持动态并行性。在本文中,我们提出了内核启动聚合和促销(KLAP),这是一组编译器技术,可提高使用动态并行性的核的性能。内核启动聚合融合在同一扭曲,块或内核中的线程推出的核心核对单个聚合内核,从而减少了产生的内核总数并增加每个内核的工作量以改善占用。内核启动促销启用了早期推出的儿童内核,以提取父母和儿童之间的更多并行性,并在几代内汇总内核发射,减轻了有限的深度问题。我们在实际编译器中实现了我们的技术,并显示内核启动聚合在常规动态并行性上获得6.58倍的几何平均加速。我们还显示内核启动促销启用了最初可能的情况,以30.44 x的几何平均值提高吞吐量。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号