This hands-on module introduces OpenMP* 3.0 directives to parallelize common functions and loops. The first section of the module introduces the most common feature of OpenMP - work sharing for loops. The second section demonstrates how to exploit non-loop parallelism, including the new task constructs in OpenMP 3.0. The final section discusses the usage of synchronization methods, library functions, and environment variables. After successful completion of this module, the participant should be able to modify C/C++ code to achieve parallelism using the new OpenMP 3.0 features, available in various compilers: gnu*, Microsoft*, Intel, and others. Note-- This module employs the Intel compiler for labs and demos.
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.