Next: Pure Procedures
Up: Data Parallel Execution
Previous: Forall Construct
For example (in Fortran 95 and Full HPF),
PURE REAL FUNCTION F(x,y)
PURE SUBROUTINE G(x,y,z)
Side effect free:
- no external I/O or ALLOCATE,
- don't change global program state (global data),
- have PURE attribute,
- intrinsic / ELEMENTAL functions are pure,
- allowed in FORALL and pure procedures,
PURE procedures can be executed in parallel.
For more information, click here
Next: Pure Procedures
Up: Data Parallel Execution
Previous: Forall Construct
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.