Skip to content
Amy Powell edited this page Mar 9, 2022 · 26 revisions

Kokkos: The C++ Performance Portability Programming Model

Kokkos implements a programming model in C++ for writing performance portable applications targeting all major HPC platforms. For that purpose it provides abstractions for both parallel execution of code and data management. Kokkos is designed to target complex node architectures with N-level memory hierarchies and multiple types of execution resources. It currently can use OpenMP, Pthreads and CUDA as backend programming models.

This Wiki provides a number of resources for both new and old Kokkos developers.

Note: The Wiki is a work in progress. 
      Some of the content is not yet available (red links).

List of deprecated features, their replacements and reason for deprecation.

The Programming Guide contains in-depth descriptions of the capabilities provided by Kokkos. This includes explanation of design decisions as well as best practice hints. This is a good place to start off your Kokkos journey other than attending one of our Tutorial days.

This is the place to go for a fast lookup of syntax. Developers who have previously worked a lot with other shared memory models such as OpenMP, CUDA, or OpenCL may be able to simply look up how certain capabilities are used in Kokkos

The Kokkos Programming Model is not the only resource available. There are a number of projects which can help HPC developers in their work.

This project has extensive Tutorials for Kokkos including hands-on exercises. New Kokkos developers, even with little to no previous parallel programming experience will be taken through the basics of using Kokkos to parallelize applications. There is also a tutorial available for learning the basics of profiling.

Kokkos Tools provide profiling and debugging capabilities which access built-in instrumentation of Kokkos. They make it significantly easier to understand what is going on in a large Kokkos application and thus help you to find errors and performance issues.

Many if not most high performance computing applications rely on dense and sparse BLAS capabilities or graph kernels. Kokkos-Kernels aims at providing optimized kernels and interfacing to vendor libraries through a Kokkos View based interface. No need to figure out what the dimensions, strides and memory spaces of your data structures are, Kokkos Views know about that.

Clone this wiki locally