hipgetlasterror Interface Reference

hipgetlasterror Interface Reference#

HIPFORT API Reference: hipfort::hipgetlasterror Interface Reference
hipfort::hipgetlasterror Interface Reference

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

Public Member Functions

integer(kind(hipsuccess)) function hipgetlasterror_ ()
 

Detailed Description

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

Member Function/Subroutine Documentation

◆ hipgetlasterror_()

integer(kind(hipsuccess)) function hipfort::hipgetlasterror::hipgetlasterror_

The documentation for this interface was generated from the following file: