Scalable Tuning of (OpenMP) GPU Applications via Kernel Record and Replay
Konstantinos Parasyris, Giorgis Georgakoudis, Esteban Rangel, Ignacio Laguna, Johannes Doerfert
摘要
HPC is a heterogeneous world in which host and device code are interleaved throughout the application. Given the significant performance advantage of accelerators, device code execution time is becoming the new bottleneck. Tuning the accelerated parts is consequently highly desirable but often impractical due to the large overall application runtime which includes unrelated host parts.
We propose a Record-Replay (RR) mechanism to facilitate autotuning of large (OpenMP) offload applications. RR dissects the application, effectively isolating GPU kernels into independent executables. These comparatively small codelets are amenable to various forms of post-processing, including elaborate auto-tuning. By eliminating the resource requirements and application dependencies, massively parallel and distributed auto-tuning becomes feasible.
Utilizing RR, we run scalable Bayesian Optimization to determine optimal kernel launch parameters. LULESH showcases an end-toend speedup of up to 1.53×, while RR enables 102× faster tuning compared to existing approaches using the entire application.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper2
它引用的 Paper4
- Efficient Compiler Autotuning via Bayesian OptimizationJunjie Chen, Ningxin Xu, Peiqi Chen, Hongyu ZhangICSE 2021 · 73 次引用
- GPTune: multitask learning for autotuning exascale applicationsYang Liu, Wissam M. Sid-Lakhdar, Osni Marques, Xinran Zhu 等PPoPP 2021 · 45 次引用
- Bliss: auto-tuning complex applications using a pool of diverse lightweight learning modelsRohan Basu Roy, Tirthak Patel, Vijay Gadepally, Devesh TiwariPLDI 2021 · 41 次引用
- Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance AwarenessZhen Xie, Jie Liu, Jiajia Li, Dong LiPPoPP 2023 · 18 次引用
相关 Paper
- Performance Optimization using Multimodal Modeling and Heterogeneous GNNAkash Dutta, Jordi Alcaraz, Ali TehraniJamsaz, Eduardo César 等HPDC 2023 · 15 次引用
- HPAC-Offload: Accelerating HPC Applications with Portable Approximate Computing on the GPUZane Fink, Konstantinos Parasyris, Giorgis Georgakoudis, Harshitha MenonSC 2023 · 3 次引用
- CARBS: Compiler Autotuning via Randomized Biased SearchWei Li, Bin Gao, Weng-Fai WongHPDC 2026
- GPUReplay: a 50-KB GPU stack for client MLHeejin Park, Felix Xiaozhu LinASPLOS 2022 · 10 次引用
- Leveraging Hardware Probes and Optimizations for Accelerating Fuzz Testing of Heterogeneous ApplicationsJiyuan Wang, Qian Zhang, Hongbo Rong, Guoqing Harry Xu 等FSE 2023 · 3 次引用
