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

5.4.7  is_device_ptr Clause

Name: is_device_ptr

Properties: data-environment attribute, data-sharing attribute

Arguments

Name

Type

Properties

list

list of variable list item type

default

Directives

dispatch

,

target

Semantics

The is_device_ptr clause indicates that its list items are device pointers. Support for device pointers created outside of OpenMP, specifically outside of any OpenMP mechanism that returns a device pointer, is implementation defined.

If the is_device_ptr clause is specified on a target construct, each list item privatized inside the construct and the new list item is initialized to the device address to which the original list item refers.

If the is_device_ptr clause is specified on a target construct, if any list item is not of type C_PTR, the behavior is as if the list item appeared in a has_device_addr clause. Support for such list items in an is_device_ptr clause is deprecated.

Restrictions

Restrictions to the is_device_ptr clause are as follows:

Cross References