PURE functions have no side effects
|
DO loops can call any functions and parallelism unclear as function call can destroy parallelism
|
If FUNC alters A(I-1) or in fact A(any index except I), then this loop cannot be easily parallelized |
FORALL statements can only call PURE functions and these must NOT define any global (e.g. any element of A in example) or dummy (A(i-1) or X) variable
|