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

From HPC Wiki
OpenMP in Small Bites/Overview
Jump to navigation Jump to search
m (Tweak questions.)
m (Adapt aspect ration of video embedding)
Line 5: Line 5:
 
=== Video === <!--T:5-->
 
=== Video === <!--T:5-->
  
<youtube width="600" height="400" right>NrgLrOxyLgU</youtube>
+
<youtube width="600" height="340" right>NrgLrOxyLgU</youtube>
  
 
=== Quiz === <!--T:5-->   
 
=== Quiz === <!--T:5-->   

Revision as of 10:41, 24 November 2020

Tutorial
Title: OpenMP in Small Bites
Provider: HPC.NRW

Contact: tutorials@hpc.nrw
Type: Multi-part video
Topic Area: Programming Paradigms
License: CC-BY-SA
Syllabus

1. Overview
2. Worksharing
3. Data Scoping
4. False Sharing
5. Tasking
6. Tasking and Data Scoping
7. Tasking and Synchronization
8. Loops and Tasks
9. Tasking Example: Sudoku Solver
10. Task Scheduling
11. Non-Uniform Memory Access

Video

Quiz

1. Out of which three components the OpenMP interface consists?

Compiler directives, runtime routines, environment variables
Compiler directives, host language extensions, runtime routines
Host language extensions, runtime routines, environment variables.

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

Fork-Join
Create-Release
Start-Wait

3. How can you control the number of threads?

Set environment variable OMP_NUM_THREADS.
Use num_threads clause on a parallel construct.
Number of threads are fixed at compile time
All of the above