gomp-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gomp-discuss] Re: [gomp] parse OpenMP directives


From: Scott Robert Ladd
Subject: [Gomp-discuss] Re: [gomp] parse OpenMP directives
Date: Wed, 13 Oct 2004 11:52:37 -0400
User-agent: Mozilla Thunderbird 0.8 (X11/20040919)

Sebastian Pop wrote:
The following patch registers a set of functions for parsing the
OpenMP directives.  Most of the functions are not yet implemented, but
I wanted to get some feed-back from the CPP people on whether this is
the right approach for parsing the directives.

The directives can not be simply translated into function calls. OpenMP
effectively "rewrites" the program in order to support variable scoping,
locking, and thread creation; in essence, the parser needs to analyze
the code within the OpenMP block and write new, equivalent, parallel
code. I posted examples of this earlier.

..Scott

--
Scott Robert Ladd
site: http://www.coyotegulch.com
blog: http://chaoticcoyote.blogspot.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]