next up previous contents
Next: The RESIDENT Directive Up: HPF_CRAFT Functional Summary Previous: Parallelism Specification Directives

The SYMMETRIC Directive

SYMMETRIC variables are private data that are guaranteed to be at the same storage location on every processor. The feature is beneficial to implementations that provide one-way communication functionality. One task can either get or put data into another task's symmetric data location, without involving the other task. There is an implicit barrier synchronization after SYMMETRIC data is allocated.

REAL PRIV1(100), PRIV2

!HPF$ SYMMETRIC PRIV1, PRIV2