hipLinkAddFile

Function hipLinkAddFile 

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

@brief Adds a file with bitcode to be linked with options. @param [in] state hip link state @param [in] type Type of the input data or bitcode @param [in] path Path to the input file where bitcode is present @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

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

@see hipError_t