Updated Doxygen related documentation for Error APIs

Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3
This commit is contained in:
Rahul Garg
2016-09-13 16:54:46 +05:30
parent e1d00da7d2
commit c6808ddc0e
2 changed files with 5 additions and 14 deletions
+4 -2
View File
@@ -397,9 +397,12 @@ hipError_t hipChooseDevice(int *device, hipDeviceProp_t* prop);
/**
* @brief Return last error returned by any HIP runtime API call and resets the stored error code to #hipSuccess
*
* @returns return code from last HIP called from the active host thread
*
* 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 #hipSuccess.
*
* @see hipGetErrorString, hipGetLastError, hipPeakAtLastError, hipError_t
*/
hipError_t hipGetLastError(void);
@@ -412,8 +415,7 @@ hipError_t hipGetLastError(void);
* 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.
*
*
*
* @see hipGetErrorString, hipGetLastError, hipPeakAtLastError, hipError_t
*/
hipError_t hipPeekAtLastError(void);