# USE_DEVICE_PTR Clause

Parallel Directive Clause: Tells the construct to use a device pointer currently in the device data environment.

## Syntax

USE_DEVICE_PTR (ptr-list)

ptr-list | Is a list of one or more variables of type C_PTR from the intrinsic module ISO_C_BINDING1. The pointers are converted into device pointers to the corresponding list item in the device data environment.

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

The pointers listed in ptr-list become private pointers in the device data environment. The device pointers to the corresponding list items in the device data environment are assigned to the private pointers.

References in the construct to a ptr-list item that appears in this clause must be to the address of the ptr-list item.

Parent topic: T to Z