cubecl_hip_sys

Function hiprtcCompileProgram

Source
pub unsafe extern "C" fn hiprtcCompileProgram(
    prog: hiprtcProgram,
    numOptions: c_int,
    options: *mut *const c_char,
) -> hiprtcResult
Expand description

@ingroup Runtime @brief Compiles the given runtime compilation program.

@param [in] prog runtime compilation program instance. @param [in] numOptions number of compiler options. @param [in] options compiler options as const array of strins. @returns #HIPRTC_SUCCESS

If the compiler failed to build the runtime compilation program, it will return #HIPRTC_ERROR_COMPILATION.

@see hiprtcResult