首页 | 本学科首页   官方微博 | 高级检索  
     


CUIRRE: An open-source library for load balancing and characterizing irregular applications on GPUs
Authors:Tao Zhang  Wei Shu  Min-You Wu
Affiliation:1. Department of Computer Science & Engineering, Shanghai Jiao Tong University, Shanghai 200240, China;2. Department of Electrical & Computer Engineering, The University of New Mexico, Albuquerque 87131-0001, NM, USA
Abstract:
While Graphics Processing Units (GPUs) show high performance for problems with regular structures, they do not perform well for irregular tasks due to the mismatches between irregular problem structures and SIMD-like GPU architectures. In this paper, we introduce a new library, CUIRRE, for improving performance of irregular applications on GPUs. CUIRRE reduces the load imbalance of GPU threads resulting from irregular loop structures. In addition, CUIRRE can characterize irregular applications for their irregularity, thread granularity and GPU utilization. We employ this library to characterize and optimize both synthetic and real-world applications. The experimental results show that a 1.63× on average and up to 2.76× performance improvement can be achieved with the centralized task pool approach in the library at a 4.57% average overhead with static loading ratios. To avoid the cost of exhaustive searches of loading ratios, an adaptive loading ratio method is proposed to derive appropriate loading ratios for different inputs automatically at runtime. Our task pool approach outperforms other load balancing schemes such as the task stealing method and the persistent threads method. The CUIRRE library can easily be applied on many other irregular problems.
Keywords:Load balancing   Characterizing   Library   Irregular   GPU
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号