P99

◆ P99_PARALLEL_FORALL

#define P99_PARALLEL_FORALL (   NAME,
  ... 
)    P00_PARALLEL_FORALL(P99_NARG(__VA_ARGS__), NAME, __VA_ARGS__)

A multi-index for loop who's dependent statement or block may be executed out of order.

This has the same semantics as P99_FORALL except that it assumes the independence of each execution of the statement from every other.

See also
P99_FORALL for a variant that doesn't need that assumption, i.e where the statements should be executed sequentially in order.
P99_PARALLEL_DO for a simple fortran like parallel iteration
P99_PARALLEL_FOR for a parallel replacement of for
P99_CDIM for a macro that computes the absolute position of an index N-tuple in a multi-dimensional array.
Warning
argument 0 may be evaluated multiple times

Definition at line 970 of file p99_for.h.