Visible to Intel only — GUID: GUID-A3523D7C-52C0-4AEB-AF78-6FF368D0036F
Visible to Intel only — GUID: GUID-A3523D7C-52C0-4AEB-AF78-6FF368D0036F
TARGET EXIT DATA
OpenMP* Fortran Compiler Directive: Specifies that variables are unmapped from a device data environment. This feature is only available for ifx.
Syntax
!$OMP TARGET EXIT DATA [clause[[,] clause]... ]
clause |
Is one or more of the following: |
The binding task for the TARGET EXIT DATA construct is the encountering task. TARGET EXIT DATA is a stand-alone directive.
When a TARGET EXIT DATA construct is encountered, the list items in the MAP clauses are unmapped from the device data environment according to map-type. A map-type must be specified in all MAP clauses and must be FROM, RELEASE, or DELETE.
The TARGET EXIT DATA construct executes as if it was enclosed in a task construct.
When a DEPEND clause is present, it acts as if it appeared on the implicit task construct that encloses the TARGET EXIT DATA construct.
If there is no DEVICE clause, the default device is determined by the internal control variable (ICV) named default-device-var.
When an IF clause is present and the IF clause scalar-logical-expression evaluates to .FALSE., the device is the host.