cubecl_hip_sys

Function hiprtcLinkCreate

Source
pub unsafe extern "C" fn hiprtcLinkCreate(
    num_options: c_uint,
    option_ptr: *mut hiprtcJIT_option,
    option_vals_pptr: *mut *mut c_void,
    hip_link_state_ptr: *mut hiprtcLinkState,
) -> hiprtcResult
Expand description

@brief Creates the link instance via hiprtc APIs. @ingroup Runtime @param [in] num_options Number of options @param [in] option_ptr Array of options @param [in] option_vals_pptr Array of option values cast to void* @param [out] hip_link_state_ptr hiprtc link state created upon success

@returns #HIPRTC_SUCCESS, #HIPRTC_ERROR_INVALID_INPUT, #HIPRTC_ERROR_INVALID_OPTION

@see hiprtcResult