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


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



© 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