Basic HTML version of Foils prepared 16 Sept 1995

Foil 35 FORALL Statement in HPF

From HPFtutorial CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox(Tomasz Haupt)


A very important extension to Fortran 90 and defines one class of parallel DO loop
It relaxes the restriction that operands of the rhs expressions must be conformable with the lhs array
It may be masked with a scalar logical expression (extension to WHERE)
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)



© on Tue Oct 7 1997