Error Handling

Error Handling#

HIPFORT API Reference: Error Handling
Error Handling

Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess

Return last error returned by any HIP runtime API call and resets the stored error code to hipSuccess

----------------------------------------------------------------------------------------------—

This section describes the error handling functions of HIP runtime API.

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 also
hipGetErrorString, hipGetLastError, hipPeakAtLastError, hipError_t