cubecl_hip_sys

Function hipGetErrorString

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

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

@param hipError Error code to convert to string. @return const char pointer to the NULL-terminated error string

@see hipGetErrorName, hipGetLastError, hipPeakAtLastError, hipError_t