[Omp] About iteration determination for #omp for
NovaElf
novaelf at hotmail.com
Sat Nov 12 09:18:32 PST 2005
Hi there. I have 2 questions concerning iteration determination for the #omp
for construct.
Does each thread do some calculation to find out which slices of the
iterations it should be taking? Since the calculation can only be done on
entry to the #omp for construct, and there is no barrier on entry, any
thread can arrive first, so it seems impossible for one thread to be
handling that job.
A second question is, the #omp for loop has some loop invariant
restrictions. However, if I purposely violate those restrictions, will it
result in compile time error or will it only result in incorrect execution?
_________________________________________________________________
Get MSN Hotmail alerts on your mobile.
http://mobile.msn.com/ac.aspx?cid=uuhp_hotmail
More information about the Omp
mailing list