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
+1
-12
@@ -25,9 +25,7 @@ THE SOFTWARE.
|
||||
//-------------------------------------------------------------------------------------------------
|
||||
// Error Handling
|
||||
//---
|
||||
/**
|
||||
* @returns return code from last HIP called from the active host thread.
|
||||
*/
|
||||
|
||||
hipError_t hipGetLastError()
|
||||
{
|
||||
HIP_INIT_API();
|
||||
@@ -38,8 +36,6 @@ hipError_t hipGetLastError()
|
||||
return e;
|
||||
}
|
||||
|
||||
|
||||
//---
|
||||
hipError_t hipPeekAtLastError()
|
||||
{
|
||||
HIP_INIT_API();
|
||||
@@ -48,7 +44,6 @@ hipError_t hipPeekAtLastError()
|
||||
return ihipLogStatus(tls_lastHipError);
|
||||
}
|
||||
|
||||
//---
|
||||
const char *hipGetErrorName(hipError_t hip_error)
|
||||
{
|
||||
HIP_INIT_API(hip_error);
|
||||
@@ -56,12 +51,6 @@ const char *hipGetErrorName(hipError_t hip_error)
|
||||
return ihipErrorString(hip_error);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @warning : hipGetErrorString returns string from hipGetErrorName
|
||||
*/
|
||||
|
||||
//---
|
||||
const char *hipGetErrorString(hipError_t hip_error)
|
||||
{
|
||||
HIP_INIT_API(hip_error);
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika