Basic HTML version of Foils prepared 26 September 1996

Foil 110 Multiple Statement FORALL's

From HPCC Software Technologies Fall 96 -- Overview and HPF Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 26 September 96. by Geoffrey C. Fox


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



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Feb 22 1998