<trclass="memitem:gaf2382e3cc6632332a8983a0f58e43494"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__Stream.html#gaf2382e3cc6632332a8983a0f58e43494">hipStreamCreateWithFlags</a> (<aclass="el"href="structihipStream__t.html">hipStream_t</a> *stream, unsigned int flags)</td></tr>
<trclass="memdesc:gaf2382e3cc6632332a8983a0f58e43494"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Create an asynchronous stream. <ahref="#gaf2382e3cc6632332a8983a0f58e43494">More...</a><br/></td></tr>
<trclass="memitem:gacdd84c8f8ef1539c96c57c1d5bcae633"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__Stream.html#gacdd84c8f8ef1539c96c57c1d5bcae633">hipStreamWaitEvent</a> (<aclass="el"href="structihipStream__t.html">hipStream_t</a> stream, <aclass="el"href="structhipEvent__t.html">hipEvent_t</a> event, unsigned int flags)</td></tr>
<trclass="memdesc:gacdd84c8f8ef1539c96c57c1d5bcae633"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Make the specified compute stream wait for an event. <ahref="#gacdd84c8f8ef1539c96c57c1d5bcae633">More...</a><br/></td></tr>
<trclass="memdesc:gabbfb9f573a6ebe8c478605ecb5504a74"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Wait for all commands in stream to complete. <ahref="#gabbfb9f573a6ebe8c478605ecb5504a74">More...</a><br/></td></tr>
<trclass="memdesc:ga3076a3499ed2c7821311006100bb95ec"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Destroys the specified stream. <ahref="#ga3076a3499ed2c7821311006100bb95ec">More...</a><br/></td></tr>
<trclass="memitem:ga3249555a26439591b8873f70b39bb116"><tdclass="memItemLeft"align="right"valign="top"><aclass="el"href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="group__Stream.html#ga3249555a26439591b8873f70b39bb116">hipStreamGetFlags</a> (<aclass="el"href="structihipStream__t.html">hipStream_t</a> stream, unsigned int *flags)</td></tr>
<trclass="memdesc:ga3249555a26439591b8873f70b39bb116"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return flags associated with this stream. <ahref="#ga3249555a26439591b8873f70b39bb116">More...</a><br/></td></tr>
<dlclass="section return"><dt>Returns</dt><dd><aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063"title="Successful completion. ">hipSuccess</a>, <aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a1e8215fe1108a508bad3944bce7b4d83"title="One or more of the parameters passed to the API call is NULL or not in an acceptable range...">hipErrorInvalidValue</a></dd></dl>
<p>Create a new asynchronous stream. Flags controls behavior of the stream. See <aclass="el"href="group__GlobalDefs.html#ga6df5f70eb976836ab3598cacf0ffcdf9"title="Flags that can be used with hipStreamCreateWithFlags. ">hipStreamDefault</a>, <aclass="el"href="group__GlobalDefs.html#gaaba9ae995d9b43b7d1ee70c6fa12c57d"title="Stream does not implicitly synchronize with null stream. ">hipStreamNonBlocking</a>. hipStream_t are under development - with current HIP use the NULL stream. </p>
<tr><tdclass="paramdir">[in,out]</td><tdclass="paramname">stream</td><td>Valid pointer to hipStream_t. This function writes the memory with the newly created stream. </td></tr>
<dlclass="section return"><dt>Returns</dt><dd><aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063"title="Successful completion. ">hipSuccess</a>, <aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a1e8215fe1108a508bad3944bce7b4d83"title="One or more of the parameters passed to the API call is NULL or not in an acceptable range...">hipErrorInvalidValue</a>, <aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594a88e525a7c8f35552dfada58e9f2f6d3a"title="Resource handle (hipEvent_t or hipStream_t) invalid. ">hipErrorInvalidResourceHandle</a></dd></dl>
<p>This function inserts a wait operation into the specified stream. All future work submitted to <code>stream</code> will wait until <code>event</code> reports completion before beginning execution. This function is host-asynchronous and the function may return before the wait has completed.</p>
<dlclass="bug"><dt><b><aclass="el"href="bug.html#_bug000003">Bug:</a></b></dt><dd>This function conservatively waits for all work in the specified stream to complete. </dd></dl>