【文件属性】:
文件名称:Brief Introduction to OpenMP
文件大小:228KB
文件格式:PDF
更新时间:2013-11-04 09:58:13
FORTRAN
OpenMP is a framework for shared memory parallel computing.
OpenMP is a standard C/C++ and Fortran compilers.
Compiler directives indicate where parallelism should be used.
C/C++ use #pragma directives
Fortran uses structured comments.
A library provides support routines.
Based on the fork/join model:
the program starts as a single thread
at designated parallel regions a pool of threads is formed
the threads execute in parallel across the region
at the end of the region the threads wait for all of the team to arrive
the master thread the continues until the next parallel region.