Difference between revisions of "OpenMP in Small Bites/Worksharing"

From HPC Wiki
OpenMP in Small Bites/Worksharing
Jump to navigation Jump to search
Line 21: Line 21:
 
|type="()"}
 
|type="()"}
 
+ Click and submit to see the answer
 
+ Click and submit to see the answer
|| C/C++: for-construct #pragma omp for (or as combind construct #pragma omp parallel for <br /> Fortran: do-construct !$omp do
+
|| C/C++: for-construct <code>#pragma omp for </code>(or as combined construct <code>#pragma omp parallel for </code> <br /> Fortran: do-construct <code>!$omp do</code>
 
</quiz>
 
</quiz>
 
{{hidden end}}
 
{{hidden end}}

Revision as of 17:01, 30 October 2020



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

What is one of the key concepts of the OpenMP execution model?

Click and submit to see the answer

How can you control the number of threads?

Click and submit to see the answer