OpenMP in Small Bites/Worksharing

From HPC Wiki
OpenMP in Small Bites/Worksharing /
Jump to navigation Jump to search



HPC.NRW
HPC.NRW
Other HPC Courses
1. Gprof Tutorial
2. Introduction to Linux in HPC
OpenMP in Small Bites
1. Overview
2. Worksharing
3. Data Scoping
4. Non-Uniform Memory Access







Video


Quiz

What is most commenly used worksharing construct in OpenMP to distribute work among loop interations?

Click and submit to see the answer

Give an example for a parallel vector addition using OpenMP worksharing!

Click and submit to see the answer


   Give an example for a parallel vector addition using OpenMP worksharing!
   (C/C++:








How can you control the number of threads?

Click and submit to see the answer