cubecl_hip_sys

Function hiprtcGetErrorString

Source
pub unsafe extern "C" fn hiprtcGetErrorString(
    result: hiprtcResult,
) -> *const c_char
Expand description

@ingroup Runtime

@brief Returns text string message to explain the error which occurred

@param [in] result code to convert to string. @returns const char pointer to the NULL-terminated error string

@warning In HIP, this function returns the name of the error, if the hiprtc result is defined, it will return “Invalid HIPRTC error code”

@see hiprtcResult