OpenACC™ host_data directive

Delineates a block of code, identifying scalars and arrays in accelerator memory whose addresses will be available to the host.
!$acc host_data [clause [, clause ...]]
    block
!$acc end host_data
#pragma acc host_data [clause [, clause ...]]
    block

The sole supported clause is use_device.

For more information, see Section 2.6 of The OpenACC™ Application Programming Interface, Version 1.0, available from http://www.openacc-standard.org.


OpenACC™ Application Programming Interface Version 1.0