A Program Transformation to Insert OpenMP Pragmas
Autor: | Shu-Wei Hsu, 許書瑋 |
---|---|
Rok vydání: | 2009 |
Druh dokumentu: | 學位論文 ; thesis |
Popis: | 97 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. We 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. |
Databáze: | Networked Digital Library of Theses & Dissertations |
Externí odkaz: |