pub unsafe extern "C" fn hiprtcLinkAddFile(
hip_link_state: hiprtcLinkState,
input_type: hiprtcJITInputType,
file_path: *const c_char,
num_options: c_uint,
options_ptr: *mut hiprtcJIT_option,
option_values: *mut *mut c_void,
) -> hiprtcResult
Expand description
@brief Adds a file with bit code to be linked with options @ingroup Runtime @param [in] hip_link_state hiprtc link state @param [in] input_type Type of the input data or bitcode @param [in] file_path Path to the input file where bitcode is present @param [in] num_options Size of the options @param [in] options_ptr Array of options applied to this input @param [in] option_values Array of option values cast to void*
@returns #HIPRTC_SUCCESS
If input values are invalid, it will @return #HIPRTC_ERROR_INVALID_INPUT
@see hiprtcResult