FORALL( index-spec-list [,mask-expr] ) |
forall-body |
END FORALL |
where forall-body can be a list of forall-assignment statements, FORALL or WHERE statements |
So Multi-Statement FORALL's support nesting of FORALL's but |
is in general Shorthand for a sequence of single statement FORALL's with by definition each statement completed before next one begins |
The multi-statement FORALL is likely to be more efficient than several single statement ones as latter have synchronization overhead on each statement |