Prepare code:

$ source ~/Tools/env.sh
$ cd ~/Tools/SMXV
$ unset ${!SCOREP_*}

Build code:

$ make smxv-omp

Exercise 1: Run benchmark with number of threads between 1 and 12:

$ export OMP_NUM_THREADS=1
$ ./smxv-omp yax_large.bin

With 2 OpenMP threads:

$ export OMP_NUM_THREADS=2
$ ./smxv-omp yax_large.bin

Exercise 2: Create an event trace for 12 OpenMP threads:

Exercise 3: Examine effect of optimization on original:

Last modified: Thursday, 20 June 2024, 8:42 PM