hiplinkaddfile Interface Reference

hiplinkaddfile Interface Reference#

HIPFORT API Reference: hipfort::hiplinkaddfile Interface Reference
hipfort::hiplinkaddfile Interface Reference

Adds a file with bitcode to be linked with options. More...

Public Member Functions

integer(kind(hipsuccess)) function hiplinkaddfile_ (state, mytype, path, numoptions, options, optionvalues)
 

Detailed Description

Adds a file with bitcode to be linked with options.

Parameters
[in]statehip link state
[in]typeType of the input data or bitcode
[in]pathPath to the input file where bitcode is present
[in]numOptionsSize of the options
[in]optionsArray of options applied to this input
[in]optionValuesArray of option values cast to void*
Returns
hipSuccess, hipErrorInvalidValue

If adding the file fails, it will

Returns
hipErrorInvalidConfiguration
See also
hipError_t

Member Function/Subroutine Documentation

◆ hiplinkaddfile_()

integer(kind(hipsuccess)) function hipfort::hiplinkaddfile::hiplinkaddfile_ ( type(c_ptr), value  state,
integer(kind(hipjitinputcubin)), value  mytype,
type(c_ptr), value  path,
integer(c_int), value  numoptions,
type(c_ptr), value  options,
type(c_ptr)  optionvalues 
)

The documentation for this interface was generated from the following file: