[Omp] Canonical form for for loop?

NovaElf novaelf at hotmail.com
Wed Oct 19 21:46:32 PDT 2005


Just to clarify my doubts, does this sum up the restrictions for the #pragma 
omp for directive?
http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.vacpp7a.doc/compiler/ref/cupploop.htm

Secondly,
for e.g;
#pragma omp for
for (i = initexpr; i < endexpr; i+=increxpr)
Does this means that initexpr can take functions; but endexpr and increxpr 
cannot?

Thirdly,
int i = 2;
int j;
#pragma omp flor
for (j = i; j < 10 * i; j ++)
{
}
Is the above valid?

_________________________________________________________________
Download MSN Messenger emoticons and display pictures. 
http://ilovemessenger.msn.com/?mkt=en-sg





More information about the Omp mailing list