Task 1 to 7 are examples on optimization strategies using OpenACC, applied to a Jacobi solver. In the tasks we will use the same source code and eventually gain quite some speedup when comparing to the single-core CPU. (Intermittently we will have a 360 fold speedup; but that number is not quite correct. We will see!)
In task 1 we will profile the starting point of our optimization, the serial Jacobi solver.
- Compile with make task1
- Use pgprof for profiling, with make task1_profile
Have a look what is actually happening when invoking the Makefile targets so you can eventually launch job submissions to the batch system yourself!