HIP: Heterogenous-computing Interface for Portability
|
Functions | |
hipError_t | hipGetLastError (void) |
Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess. More... | |
hipError_t | hipPeekAtLastError (void) |
Return last error returned by any HIP runtime API call. More... | |
const char * | hipGetErrorName (hipError_t hip_error) |
Return name of the specified error code in text form. More... | |
const char * | hipGetErrorString (hipError_t hipError) |
Return handy text string message to explain the error which occurred. More... | |
const char* hipGetErrorName | ( | hipError_t | hip_error | ) |
Return name of the specified error code in text form.
hip_error | Error code to convert to name. |
const char* hipGetErrorString | ( | hipError_t | hipError | ) |
Return handy text string message to explain the error which occurred.
hipError | Error code to convert to string. |
hipError_t hipGetLastError | ( | void | ) |
Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess.
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.
hipError_t hipPeekAtLastError | ( | void | ) |
Return last error returned by any HIP runtime API call.
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.