cubecl_hip_sys

Function hipGetErrorName

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

@brief Return hip error as text string form.

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

@see hipGetErrorString, hipGetLastError, hipPeakAtLastError, hipError_t