<trclass="memdesc:ga533daeb9114d7fc2db8d867adf9e419b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return last error returned by any HIP runtime API call and resets the stored error code to <aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063"title="Successful completion. ">hipSuccess</a>. <ahref="#ga533daeb9114d7fc2db8d867adf9e419b">More...</a><br/></td></tr>
<trclass="memdesc:ga1dd660bc739f7e13edd34615660f0148"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return last error returned by any HIP runtime API call. <ahref="#ga1dd660bc739f7e13edd34615660f0148">More...</a><br/></td></tr>
<trclass="memdesc:ga88c474d77635523dbf6ca67be7b56999"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return name of the specified error code in text form. <ahref="#ga88c474d77635523dbf6ca67be7b56999">More...</a><br/></td></tr>
<trclass="memdesc:ga5959779a654bbc98ffe6d36ab536740a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return handy text string message to explain the error which occurred. <ahref="#ga5959779a654bbc98ffe6d36ab536740a">More...</a><br/></td></tr>
<p>Return name of the specified error code in text form. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">hip_error</td><td>Error code to convert to name. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>const char pointer to the NULL-terminated error name</dd></dl>
<dlclass="section see"><dt>See Also</dt><dd><aclass="el"href="group__Error.html#ga5959779a654bbc98ffe6d36ab536740a"title="Return handy text string message to explain the error which occurred. ">hipGetErrorString</a>, <aclass="el"href="group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b"title="Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess...">hipGetLastError</a>, hipPeakAtLastError, <aclass="el"href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a></dd></dl>
<p>Return handy text string message to explain the error which occurred. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">hip_error</td><td>Error code to convert to string. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>const char pointer to the NULL-terminated error string</dd></dl>
<dlclass="section warning"><dt>Warning</dt><dd>: on HCC, this function returns the name of the error (same as hipGetErrorName)</dd></dl>
<dlclass="section see"><dt>See Also</dt><dd><aclass="el"href="group__Error.html#ga88c474d77635523dbf6ca67be7b56999"title="Return name of the specified error code in text form. ">hipGetErrorName</a>, <aclass="el"href="group__Error.html#ga533daeb9114d7fc2db8d867adf9e419b"title="Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess...">hipGetLastError</a>, hipPeakAtLastError, <aclass="el"href="group__GlobalDefs.html#gadf5010f6e140a53ecbdf949e73e87594">hipError_t</a></dd></dl>
<dlclass="section warning"><dt>Warning</dt><dd>: hipGetErrorString returns string from hipGetErrorName </dd></dl>
<p>Return last error returned by any HIP runtime API call and resets the stored error code to <aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063"title="Successful completion. ">hipSuccess</a>. </p>
<p>Returns the last error that has been returned by any of the runtime calls in the same host thread, and then resets the saved error to <aclass="el"href="group__GlobalDefs.html#ggadf5010f6e140a53ecbdf949e73e87594aadfbdb847b149723c684ebd764556063"title="Successful completion. ">hipSuccess</a>.</p>
<dlclass="section return"><dt>Returns</dt><dd>return code from last HIP called from the active host thread. </dd></dl>
<p>Returns the last error that has been returned by any of the runtime calls in the same host thread. Unlike hipGetLastError, this function does not reset the saved error code. </p>