cubecl_hip_sys

Function hiprtcLinkComplete

Source
pub unsafe extern "C" fn hiprtcLinkComplete(
    hip_link_state: hiprtcLinkState,
    bin_out: *mut *mut c_void,
    size_out: *mut usize,
) -> hiprtcResult
Expand description

@brief Completes the linking of the given program. @ingroup Runtime @param [in] hip_link_state hiprtc link state @param [out] bin_out Upon success, points to the output binary @param [out] size_out Size of the binary is stored (optional)

@returns #HIPRTC_SUCCESS

If adding the data fails, it will @return #HIPRTC_ERROR_LINKING

@see hiprtcResult