Towards generic parallel programming in computer science education with kokkos

Jan Ciesko, David Poliakoff, Daisy S. Hollman, Christian C. Trott, Damien Lebrun-Grandie

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Parallel patterns, views, and spaces are promising abstractions to capture the programmer's intent as well as the contextual information that can be used by an underlying runtime to efficiently map software to parallel hardware. These abstractions can be valuable in cases where an algorithm must accommodate requirements of code and performance portability across hardware architectures and vendor programming models. Kokkos is a parallel programming model for host- and accelerator architectures that relies on these abstractions and targets these requirements. It consists of a pure C++ interface, a specification, and a programming library. The programming library exposes patterns and types and maps them to an underlying abstract machine model. The abstract machine model offers a generic view of parallel hardware. While Kokkos is gaining popularity in large-scale HPC applications at some DOE laboratories, we believe that the implemented concepts are of interest to a broader audience including academia as they may contribute to a generic, vendor, and architecture-independent education of parallel programming. In this work, we give an insight into the design considerations of this programming model and list important abstractions. Further, we document best practices obtained from giving virtual classes on Kokkos and give pointers to resources that the reader may consider valuable for a lecture on generic parallel programming for students with preexisting knowledge on this matter.

Original languageEnglish
Title of host publicationProceedings of EduHPC 2020
Subtitle of host publicationWorkshop on Education for High Performance Computing, Held in conjunction with SC 2020: The International Conference for High Performance Computing, Networking, Storage and Analysis
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages35-42
Number of pages8
ISBN (Electronic)9781665422963
DOIs
StatePublished - Nov 2020
Event2020 IEEE/ACM Workshop on Education for High Performance Computing, EduHPC 2020 - Virtual, Atlanta, United States
Duration: Nov 13 2020Nov 13 2020

Publication series

NameProceedings of EduHPC 2020: Workshop on Education for High Performance Computing, Held in conjunction with SC 2020: The International Conference for High Performance Computing, Networking, Storage and Analysis

Conference

Conference2020 IEEE/ACM Workshop on Education for High Performance Computing, EduHPC 2020
Country/TerritoryUnited States
CityVirtual, Atlanta
Period11/13/2011/13/20

Keywords

  • C++
  • Kokkos
  • Parallel programming

Fingerprint

Dive into the research topics of 'Towards generic parallel programming in computer science education with kokkos'. Together they form a unique fingerprint.

Cite this