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