Lecture 10

Readings (Do Before Class)


Slides (See Piazza for links to recordings)

In-Class Activity or Lab (Toward the end of Lecture)

  • (Non-lab day) In-Class Activity link to be posted later. Watch Piazza.
  • (lab day) Do a 'git pull'

Code

Listing
File
Notes
1 vectorize.cpp clang++ loop vectorization
1 gcc_vectorize.c gcc loop vectorization
1 hello_omp.c A first example with OMP
1 omp_for.c An example of vectorizing a for loop
1 omp_for2.c Another OpenMP for loop example with different #pragma options

Additional Resources

Please look over these curated links.

Acknowledgements

Thank you to my colleagues Professors Mike Shah, Laney Strange and Nate Derbinski for their assistance, templates and the code I used to create this page.