CExA Kokkos Hackathon

Posted on December 11, 2025 • 2 min read • 351 words

CExA Kokkos Hackathon

CExA organizes a Kokkos hackathon on January 12-16, 2026, at Maison de la Simulation (MdlS), Gif-sur-Yvette, France.

This training is two-fold.

  • It first features a full-day course to discover Kokkos or refresh one’s knowledge of the library.
  • It then continues with a 3-day hackathon, where teams of participants eager to go get their hands dirty will get to know Kokkos by finishing porting of a provided code, accelerating and optimizing it.

Trainees can choose to attend either or both parts. Computers with access to a local GPU cluster will be provided.

Registration is free but mandatory, there is a limit of 90 attendants for the course, and 45 attendants for the hackathon. The hackathon can only be attended in-person. Registration is over here.

The course

The course teaches the basis of Kokkos and of GPU programming.1 The difference between CPUs and GPUs for numerical computations are highlighted. The Kokkos data containers and parallel constructs are introduced. Practical examples will be given live by the teacher.

Outline

  1. Introduction
  2. Basic concepts of Kokkos
    1. Compilation
    2. Starting and compiling a Kokkos program
    3. Data container
    4. Parallel loops
    5. Extending loop policies
    6. Parallel reduction
  3. Conclusion

The hackathon

The hackathon is based on a lightweight version of MiniPIC,2 a pedagogic, single-node, particle-in-cell (PIC) solver developed by M. Lobet et al., CEA.3 With the support of trainers including Kokkos developers and PIC optimization experts, the participants will team up in groups of three to port and accelerate a sequential version of the code, where Kokkos data containers and some Kokkos loops are already present. Each team will profile it with Kokkos-tools and NVIDIA tools (namely, Nsight Systems and Nsight Compute), and optimize it with Kokkos features. In the end the teams will compare the performance of their resulting code while keeping its accuracy.

Outline

Note that the following notions may be discussed during the hackathon depending on the progress of the teams.

  • Profiling and debugging;
  • Atomic operations;
  • Hierarchical parallelism.

Pre-requisites

NotionCourseHackathon
C++BasicBasic
Parallel programmingBasicBasic
CMakeBasicBasic
LinuxBasicIntermediate*
KokkosNoneBasic

*use of SSH and submission of Slurm jobs.


On this page