Basic HTML version of Foils prepared August 7 98

Foil 15 Example of Loop Reductions

From DoD HPF Training -- 6. HPF2 DoD Training and Others -- 1995-98. by Chuck Koelbel -- Rice University


1 !HPF$ INDEPENDENT, NEW(xinc), REDUCTION(x)
2 DO i = 1, n
  • CALL sub(i, xinc)
  • x = x + xinc
3 END DO

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 Aug 9 1998