cubecl_hip_sys

Function hipDrvGetErrorString

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

@brief Return handy text string message to explain the error which occurred

@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