cubecl_hip_sys

Function hiprtcAddNameExpression

Source
pub unsafe extern "C" fn hiprtcAddNameExpression(
    prog: hiprtcProgram,
    name_expression: *const c_char,
) -> hiprtcResult
Expand description

@ingroup Runtime @brief Adds the given name exprssion to the runtime compilation program.

@param [in] prog runtime compilation program instance. @param [in] name_expression const char pointer to the name expression. @returns #HIPRTC_SUCCESS

If const char pointer is NULL, it will return #HIPRTC_ERROR_INVALID_INPUT.

@see hiprtcResult