next up previous
Next: AssertLastValue and AssertDynLastValue Up: Polaris Assertions and Previous: AssertParallel

AssertPrivate

The AssertPrivate assertion is attached to a DO statement also. It gives a list of variables which may be considered ``private'' to an iteration of that loop. In practice, such variables are allocated with one copy per processor. Arrays may be mentioned with a range of subscripts which are to be considered private.

The CSRD directive corresponding to the AssertPrivate assertion appears after the DO statement to which it refers. An example of the CSRD$ directive for this assertion is:

CSRD$ PRIVATE a(1:m), b(1:m), x, y

An example of its use is as follows:

CSRD$ PARALLEL (J)
      DO J = 1, N
CSRD$ PRIVATE a(1:m), b(1:m), x, y
         . . . 
      END DO



Jay Hoeflinger
Mon Apr 21 11:52:18 CDT 1997