| <html> |
| <head><title>OpenACC™ host_data directive</title></head> |
| <body> |
| <h2>OpenACC™ host_data directive</h2> |
| <dl><dd>Delineates a block of code, identifying scalars and arrays in accelerator memory whose addresses will be available to the host.</dd></dl> |
| <table width="100%" border="0" cellspacing="5" cellpadding="3"><tr bgcolor="#eeeeee"> |
| <td align="left" valign="top"> |
| <tt><b><font color="#b46432">!$acc host_data</font></b></tt> <i>[clause [, clause ...]]</i><br> |
| <i>block</i><br> |
| <tt><b><font color="#b46432">!$acc end host_data</font></b></tt> |
| </td> |
| <td align="left" valign="top"> |
| <tt><b><font color="#931a68">#pragma </font>acc host_data</b></tt> <i>[clause [, clause ...]]</i><br> |
| <i>block</i> |
| </td> |
| </tr></table> |
| <p> |
| The sole supported clause is |
| <tt><b>use_device</b>. |
| </tt> |
| </p> |
| <p>For more information, see Section |
| 2.6 |
| of <i>The OpenACC™ Application Programming Interface</i>, Version 1.0, |
| available from <a href="http://www.openacc-standard.org/">http://www.openacc-standard.org</a>.</p> |
| <br/> |
| <table width="100%" border="0"><tr> |
| <td align="right"><font color="#C0C0C0" size="1">OpenACC™ Application Programming Interface Version 1.0</font></td> |
| </tr></table> |
| </body> |
| </html> |