Portable GPU Acceleration with Standard Parallelism

November 13, 2025 ยท View on GitHub

This tutorial teaches you how to accelerate portable HPC applications with CPUs and GPUs using the parallelism and concurrency features of modern Standard C++ and Fortran standards. You'll find the following content:

Brev Launchables of this tutorial should use:

  • 4xL4, 2xL4, 2xL40S, or 1x L40S instances.
  • GCP, AWS, or any other with Flexible Ports and Linux 6.1.24+, 6.2.11+, or 6.3+ (for HMM).

Notebooks

Portable GPU Acceleration of HPC Applications with ISO C++

NotebookLink
Introduction
Lab 1: DAXPY
Lab 1: Select (optional)
Lab 2: 2D Heat Equation
Lab 3: Parallel Tree Construction

Accelerating Portable HPC Applications with ISO Fortran

NotebookLink
Introduction
Lab 1: MATMUL
Lab 2: DAXPY
Lab 3: Heat Equation