Basic HTML version of Foils prepared
August 7 98
Foil 15 PURE Functions and FORALL
From
DoD HPF Training -- 3. Parallel Constructs in HPF DoD Training and Others --
1995-98
.
by
Chuck Koelbel -- Rice University
PURE functions are the only ones that can be invoked from a FORALL
Safe to do this because they have no side effects
Useful to do this because there are things you cannot do (directly) in a FORALL
Conditionals and iteration
E.g., Do point-wise iteration this way
Local variables
E.g., Handle temporaries this way
©
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 Aug 9 1998