Updated Doxygen related documentation for Error APIs
Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2016-09-13 16:54:46 +05:30
1 rodzic
2cc9873c6b
złożenie
1b2361ff22
2 plików zmienionych
+5
-14
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika