- By:
- Lee, Seyong ; Vetter, Jeffrey S; Denny, Joel E; Teranishi, Keita ; Valero Lara, Pedro
- Page Number:
- 23-24
- Book Title:
- HPCAsia '24: Proceedings of the International Conference on High Performance Computing in Asia-Pacific Region
- Publication Date:
- August 28, 2024
- Publisher Location:
- Association for Computing Machinery, New York, New York, United States of America
- Conference Name:
- HPCAsia '24: International Conference on High Performance Computing in Asia-Pacific Region
- Conference Location:
- Nagoya, Japan
- Conference Sponsor:
- ACM
- View DOI Listing:
- https://doi.org/10.1145/3635035.3635043
Abstract
This paper presents a new feature to enable Kokkos with transparent device selection. For application developers, it is not easy to identify which device is the most appropriate to use in a heterogeneous system, since this depends on the characteristics of both the application and the hardware. In Kokkos, a backend is associated with one specific programming model/hardware. Programmers decide which backend to use at compilation time. This new feature implemented on the OpenACC backend eliminates the burden of deciding which device to use, providing a highly productive programming solution for Kokkos applications. This work includes implementation details and a performance study conducted with a set of mini-benchmarks (i.e., AXPY and dot product), kernels (Lattice-Bolzmann method), and two mini-apps (LULESH and miniFE) on two heterogeneous systems with different hardware capabilities. This new Kokkos feature provides high accelerations of up to 35× thanks to automatic and transparent device selection.