hipLinkAddData

Function hipLinkAddData 

Source
pub unsafe extern "C" fn hipLinkAddData(
    state: hipLinkState_t,
    type_: hipJitInputType,
    data: *mut c_void,
    size: usize,
    name: *const c_char,
    numOptions: c_uint,
    options: *mut hipJitOption,
    optionValues: *mut *mut c_void,
) -> hipError_t
Expand description

@brief Adds bitcode data to be linked with options. @param [in] state hip link state @param [in] type Type of the input data or bitcode @param [in] data Input data which is null terminated @param [in] size Size of the input data @param [in] name Optional name for this input @param [in] numOptions Size of the options @param [in] options Array of options applied to this input @param [in] optionValues Array of option values cast to void*

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidHandle

If adding the file fails, it will @return #hipErrorInvalidConfiguration

@see hipError_t