gomp-discuss
[Top][All Lists]
Advanced

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

Re: [Gomp-discuss] Primal Subset


From: Lars Segerlund
Subject: Re: [Gomp-discuss] Primal Subset
Date: Mon, 10 Feb 2003 18:01:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9


 I have a question, is not

#pragma omp parallel section

'primitive' in regard to

#pragma omp parallel for

 ?

Since if we did sections we didn't have to handle the loop variable, and a

#pragma omp parallel for

 can be thought of as composed of sections with different loop indexes ?

 / Lars Segerlund.

Scott Robert Ladd wrote:
Lars wrote:

  3. Figure out a 'minimal' or 'primitive' subset of omp


Here would be my core set to get us started:
For parallel loops:
        #pragma omp parallel for

For parallel regions:
        #pragma omp parallel

That's all I think we need to start with. For the nonce, we can ignore all
the refinements and library functions, I think; to get started, lets just
try to parallelize code based on the core pragmas and default variable
scoping.

Some of the library routines might be useful, but I don't see them as
essential.

..Scott



_______________________________________________
Gomp-discuss mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/gomp-discuss






reply via email to

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