| <html> |
| <head><title>OpenACC™ wait directive</title></head> |
| <body> |
| <h2>OpenACC™ wait directive</h2> |
| <dl><dd>Causes the host to wait until asychronous activities complete. Asychronous activities are specified via an <tt>async</tt> clause on a <tt>parallel</tt>, <tt>kernels</tt>, or <tt>update</tt> directive.</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 wait </font></b></tt><i>[ </i><tt><b><font color="#b46432">(</font></b></tt><i> expression </i><tt><b><font color="#b46432">)</font></b></tt><i> ]</i> |
| </td> |
| <td align="left" valign="top"> |
| <tt><b><font color="#931a68">#pragma </font>acc wait </b></tt><i>[ </i><tt><b><font color="#931a68">(</font></b></tt><i> expression </i><tt><b><font color="#931a68">)</font></b></tt><i> ]</i></td> |
| </tr></table> |
| <p>The <i>expression</i> must be of integer type.</p> |
| <p>For more information, see Section |
| 2.12.2 |
| 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> |