Basic HTML version of Foils prepared August 7 98

Foil 14 New Parallel Execution Features

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


Loop Reductions
  • !HPF$ INDEPENDENT, NEW(xinc), REDUCTION(x)
  • DO i = 1, n
    • CALL sub(i, xinc)
    • x = x + xinc
  • END DO
Computation Placement
  • !HPF$ INDEPENDENT
  • DO i = 1, n
    • !HPF$ ON HOME( ix(i) )
    • x(i) = y(ix(i)) - y(iy(i))
  • END DO
Task Parallelism
  • !HPF$ TASK_REGION
    • !HPF$ ON HOME(p(1:8))
    • CALL foo(x,y)
    • !HPF$ ON HOME(p(9:16))
    • CALL bar(z)
  • !HPF$ END TASK_REGION



© 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