Next: , Previous: , Up: OpenACC Runtime Library Routines   [Contents][Index]


6.33 acc_attach – Let device pointer point to device-pointer target.

Description

This function updates a pointer on the device from pointing to a host-pointer address to pointing to the corresponding device data.

C/C++:
Prototype:acc_attach(h_void **ptr);
Prototype:acc_attach_async(h_void **ptr, int async);
Reference:

OpenACC specification v2.6, section 3.2.34.