Abstract
Performance Portability frameworks allow developers to write code for familiar High-Performance Computing (HPC) architecture and minimize development effort over time to port it to other HPC architectures with little to no loss of performance. In our research, we conducted experiments with the same codebase on a Serial, OpenMP, and CUDA execution and memory space and compared it to the Kokkos Performance Portability framework. We assessed how well these approaches meet the goals of Performance Portability by solving a thermal conduction model on a 2D plate on multiple architectures (NVIDIA (K20, P100, V100, XAVIER), Intel Xeon, IBM Power 9, ARM64) and collected execution times (wall-clock) and performance counters with perf and nvprof for analysis. We used the Serial model to determine a baseline and to confirm that the model converges on both the native and Kokkos code. The OpenMP and CUDA models were used to analyze the parallelization strategy as compared to the Kokkos framework for the same execution and memory spaces.
This material is based upon work supported by the National Science Foundation under Major Research Instrumentation (MRI) Grant No. 1229213. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Buchanan, J.L., Turner, P.R.: Numerical Methods and Analysis. McGraw-Hill, New York (1992)
De Melo, A.C.: The new Linux ‘perf’ tools. In: Slides from Linux Kongress, vol. 18 (2010)
Edwards, H.C., Trott, C.R.: Kokkos: enabling performance portability across manycore architectures. In: 2013 Extreme Scaling Workshop (XSW), pp. 18–24. IEEE (2013)
Lopez, M.G., et al.: Towards achieving performance portability using directives for accelerators. In: 2016 Third Workshop on Accelerator Programming Using Directives (WACCPD), pp. 13–24. IEEE (2016)
Martineau, M., McIntosh-Smith, S., Boulton, M., Gaudin, W., Beckingsale, D.: A performance evaluation of Kokkos & Raja using the TeaLeaf mini-app. In: The International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2015 (2015)
Martineau, M., McIntosh-Smith, S., Gaudin, W.: Assessing the performance portability of modern parallel programming models using TeaLeaf. Concurrency Comput.: Practice Exp. 29(15), e4117 (2017)
NVIDIA developer (2019). https://developer.nvidia.com/. Accessed 16 Jan 2019
OpenMP (2019). https://www.openmp.org/. Accessed 12 Jan 2019
Portability across DOE office of science HPC facilities (2019). http://performanceportability.org/. Accessed 14 Jan 2019
RAJA: Managing application portability for next-generation platforms, January 2019. https://computation.llnl.gov/projects/raja-managing-application-portability-next-generation-platforms
Tanis, C., Sreenivas, K., Newman, J.C., Webster, R.: Performance portability of a multiphysics finite element code. In: 2018 Aviation Technology, Integration, and Operations Conference, p. 2890 (2018)
Videau, B., et al.: BOAST: a metaprogramming framework to produce portable and efficient computing kernels for HPC applications. Int. J. High Perform. Comput. Appl. 32(1), 28–44 (2018)
Wiki, K.: Kokkos: The C++ performance portability programming model (2019). https://github.com/kokkos/kokkos/wiki/. Accessed 14 Jan 2019
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Phuong, C., Saied, N., Tanis, C. (2020). Assessing Kokkos Performance on Selected Architectures. In: Crespo-Mariño, J., Meneses-Rojas, E. (eds) High Performance Computing. CARLA 2019. Communications in Computer and Information Science, vol 1087. Springer, Cham. https://doi.org/10.1007/978-3-030-41005-6_12
Download citation
DOI: https://doi.org/10.1007/978-3-030-41005-6_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-41004-9
Online ISBN: 978-3-030-41005-6
eBook Packages: Computer ScienceComputer Science (R0)