Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

IS_DEVICE_PTR Clause

Parallel Directive Clause: Indicates that a list item is a device pointer currently in the device data environment and that it should be used directly.

Syntax

IS_DEVICE_PTR (list)

list

Is a list of one or more variables that are of type C_PTR from the intrinsic module ISO_C_BINDING, or that do not have the POINTER, ALLOCATABLE, or VALUE attribute1. Each list item is a device pointer currently in the device data environment and that it should be used directly.

1 List items not of type C_PTR have been deprecated in the OpenMP* specification.

If a list item in a MAP clause is an array section, and the array section is derived from a variable with a POINTER or ALLOCATABLE attribute, then the behavior is unspecified if the corresponding list item's variable is modified in the region.

A list item may be a device address returned as the result of a call to the OpenMP* runtime library memory management function omp_target_alloc function.