cubecl_hip_sys

Function hipDrvGetErrorName

Source
pub unsafe extern "C" fn hipDrvGetErrorName(
    hipError: hipError_t,
    errorString: *mut *const c_char,
) -> hipError_t
Expand description

@brief Return hip error as text string form.

@param [in] hipError Error code to convert to string. @param [out] errorString char pointer to the NULL-terminated error string @return #hipSuccess, #hipErrorInvalidValue

@see hipGetErrorName, hipGetLastError, hipPeakAtLastError, hipError_t