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

6.3  align Clause

Name: align

Properties: unique

Arguments

Name

Type

Properties

alignment

expression of integer type

constant, positive

Directives

allocate

Semantics

The align clause is used to specify the byte alignment to use for allocations associated with the construct on which the clause appears. Specifically, each allocation is byte aligned to at least the maximum of the value to which alignment evaluates, the alignment trait of the allocator being used for the allocation, and the alignment required by the base language for the type of the variable that is allocated. On constructs on which the clause may appear, if it is not specified then the effect is as if it was specified with the alignment trait of the allocator being used for the allocation.

Restrictions

Restrictions to the align clause are as follows:

Cross References