Basic HTML version of Foils prepared 26 September 1996

Foil 106 FORALL Statement in HPF

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


1 A very important extension to Fortran 90 and defines one class of parallel DO loop
2 FORALL will be a language feature of Fortran95
3 It relaxes the restriction that operands of the rhs expressions must be conformable with the lhs array
4 It may be masked with a scalar logical expression (extension of WHERE construct)
5 A FORALL statement may call user-defined (PURE) functions on the elements of an array, simulating Fortran 90 elemental function invocation (albeit with a different syntax)
6 FORALL( index-spec-list [,mask-expr] ) forall assignment
  • where forall-assignment is conventional single Fortran90 statement

in Table To:


© 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