Basic HTML version of Foils prepared 16 Sept 1995

Foil 43 Intrinsic functions in HPF

From HPFtutorial CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox(Tomasz Haupt)


elemental
  • examples:
    • A = SIN(X)
    • FORALL (i=1:100:2) A(i) = EXP(A(i))
transformational and inquiry functions
  • Fortran 90
    • SUM, PRODUCT, ANY, DOTPROD, EOSHIFT, MAXVAL, ...
  • HPF
    • system inquiry functions:
    • NUMBER_OF_PROCESSORS,
    • PROCESSORS_SHAPE
    • extensions of MAXLOC and MINLOC, ILEN
  • HPF library



© on Tue Oct 7 1997