Lecture 10

Readings (Do Before Class)


Slides (Look at During Class)

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

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.