pub unsafe extern "C" fn hipPeekAtLastError() -> hipError_t
Expand description
@brief Return last error returned by any HIP runtime API call.
@return #hipSuccess
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