A Program Transformation to Insert OpenMP Pragmas
Date Issued
2009
Date
2009
Author(s)
Hsu, Shu-Wei
Abstract
Although the OpenMP API provides a more convenient way for parallel programming than POSIX threads library, the programmer still has the workload to insert the OpenMP directives and data-sharing attribute clauses. In this thesis, we design a system which moves the workload of OpenMP programming from the programmer to the compiler. We use GCC compiler as our implementation and evaluation platform, because GCC is an open source compiler and it supports OpenMP.e first study the functionality and restriction of the OpenMP directives and data sharing attribute clauses. After that, we study the GCC compiler source code to learn how the GCC handles these directives and clauses. Finally, we use these information to development the conditions of the data sharing attribute classification and the procedure of OpenMP directives insertion.
Subjects
OpenMP
Compiler
Parallel programming
Program Transformation
Type
thesis
File(s)![Thumbnail Image]()
Loading...
Name
ntu-98-P95922001-1.pdf
Size
23.32 KB
Format
Adobe PDF
Checksum
(MD5):f8ddc3ca33b12245a5d79a71a7e65353
