Practice List

Using what you learned in the main text, you write small programs yourself. Each assignment page describes the computation to build, the steps, and how to check the results.

Main text

Assignment

Chapter 7: Arrays, Lambdas, and Parallel Loops on the CPU

Vector Addition, Reduction, and 1D Advection

Chapter 9: Computing and Transferring Data on a GPU (CUDA)

Run the same assignments as in Chapter 7 on the GPU

Chapter 10: Heat Conduction Calculation

Extending a Serial Computation to MPI and the GPU

For the setup, see Chapter 1.