next up previous contents
Next: The SYMMETRIC Directive Up: HPF_CRAFT Functional Summary Previous: Task Identity

Parallelism Specification Directives

These directives allow a user to assert that a routine will only be called from within a parallel region, a serial region, or from within both regions. Without these directives an implementation might be required to generate two versions of code for each routine, depending upon implementation strategies. The directives simply make the generated code size smaller and remove a test.

!HPF$ PARALLEL_ONLY

!HPF$ SERIAL_ONLY

!HPF$ PARALLEL_AND_SERIAL

The default is PARALLEL_ONLY.