1 |
PURE functions have no side effects
|
2 |
DO loops can call any functions and parallelism unclear as function call can destroy parallelism
|
3 | If FUNC alters A(I-1) or in fact A(any index except I), then this loop cannot be easily parallelized |
4 |
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
|