HOME
| OPENMP API Specification: "Version 5.2 -- GIT rev 95b2e3a44"

8.2  requires Directive

Name: requires

Association: none

Category: informational

Properties: default

Clause groups

requirement

Semantics

The requires directive specifies features that an implementation must support for correct execution and requirements for the execution of all code in the current compilation unit. The behavior that a requirement clause specifies may override the normal behavior specified elsewhere in this document. Whether an implementation supports the feature that a given requirement clause specifies is implementation defined.

The clauses of a requires directive are added to the requires trait in the OpenMP context for all program points that follow the directive.

Restrictions

The restrictions to the requires directive are as follows: