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

6.4  allocator Clause

Name: allocator

Properties: unique

Arguments

Name

Type

Properties

allocator

expression of allocator_handle type

default

Directives

allocate

Semantics

The allocator clause specifies the memory allocator to be used for allocations associated with the construct on which the clause appears. Specifically, the allocator to which allocator evaluates is used for the allocations. On constructs on which the clause may appear, if it is not specified then the effect is as if it was specified with the value of the def-allocator-var ICV.

Cross References