28880

Scalable Tuning of (OpenMP) GPU Applications via Kernel Record and Replay

Konstantinos Parasyris, Giorgis Georgakoudis, Esteban Rangel, Ignacio Laguna, Johannes Doerfert
Lawrence Livermore National Laboratory, Livermore, USA
Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC ’23), 2023

@inproceedings{parasyris2023scalable,

   title={Scalable Tuning of (OpenMP) GPU Applications via Kernel Record and Replay},

   author={Parasyris, Konstantinos and Georgakoudis, Giorgis and Rangel, Esteban and Laguna, Ignacio and Doerfert, Johannes},

   booktitle={Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis},

   pages={1–14},

   year={2023}

}

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-to-end speedup of up to 1.53×, while RR enables 102× faster tuning compared to existing approaches using the entire application.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: