HP aC++/HP C A.06.25 Programmer's Guide

shared
shared(list)
The shared clause causes the variables that appear in the list to be shared among
all threads in a team. All threads within a team access the same storage area for the
shared variables.
copyin
copyin(list)
The copyin clause copies the value of master thread’s copy of a threadprivate variable
to all other threads at the beginning of the parallel region. This clause can only be used
with the parallel directive.
reduction
reduction(op:list)
The reduction clause performs a reduction on the scalar variables that appear in the
list, with the operator op.
nowait
nowait
The nowait clause removes the implicit barrier synchronization at the end of a for
or sections construct.
ordered
ordered
The ordered clause must be present when ordered directives bind to the for
construct.
schedule
schedule(kind[,chunksize])
The schedule clause specifies how iterations of the for loop are divided among threads
of the team. The kind of schedule can be: static, dynamic, guided, or runtime.
chunksize should be a loop invariant integer expression.
num_threads
num_threads(interger-expression)
The num_threads clause allows a user to request a specific number of threads for a
parallel construct. If the num_threads clause is present, then the value of the integer
expression is the number of threads requested.
152 Pragma Directives and Attributes