Updated Doxygen related documentation for Error APIs
Change-Id: I16873503d8e96df91831e2a0503835a1ff0220e3
Dieser Commit ist enthalten in:
1 Ursprung
2cc9873c6b
Commit
1b2361ff22
2 Dateien geändert
+5
-14
Keine Dateien entsprechen Ihrer Suche
@@ -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);
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren