Visible to Intel only — GUID: GUID-30E7DC6E-80C4-4E48-A5A3-458F3F67C34A
Visible to Intel only — GUID: GUID-30E7DC6E-80C4-4E48-A5A3-458F3F67C34A
DISPATCH
OpenMP* Fortran Compiler Directive: Determines whether a variant of a procedure is called for a given function or subroutine call. This feature is only available for ifx.
Syntax
!$OMP DISPATCH [clause[[,] clause]... ]
statement
clause |
Is one or more of the following:
Variables used in the expression of a NOVARIANTS clause or a NOCONTEXT clause are implicitly referenced in all enclosing contexts of the DISPATCH directive. Only one of each of the following clauses is permitted in a DISPATCH directive: NOWAIT, NOCONTEXT, and NOVARIANT. |
statement |
Is a Fortran statement with one of these forms:
target_proc must be a procedure name; it cannot be a procedure pointer. |
The DISPATCH directive creates an explicit task around the associated code as if a TASK construct was present. Properties added to the interoperability requirement set can be removed by other directives. The task will be an included task if the interoperability requirement set does not contain a NOWAIT property.
If the interoperability requirements set contains DEPEND properties, it is as if the TASK construct contained the corresponding DEPEND clauses.