Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 557 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 557 Bytes

Jacobi iteration

In this exercise we will implement a Jacobi iteration which is a very simple finite-difference scheme. Familiarize yourself with the provided skeleton. Then implement following things:

  1. Write the missing CUDA kernel sweepGPU that implements the same algorithm as the sweepCPU function. Check that the reported averate difference is in the order of the numerical accuracy.
  2. Experiment with different grid and block sizes and compare the execution times. Use the nvvp to check how you modifications affect the execution.