hiplinkadddata Interface Reference

hiplinkadddata Interface Reference#

HIPFORT API Reference: hipfort::hiplinkadddata Interface Reference
hipfort::hiplinkadddata Interface Reference

Adds bitcode data to be linked with options. More...

Public Member Functions

integer(kind(hipsuccess)) function hiplinkadddata_ (state, mytype, mydata, mysize, name, numoptions, options, optionvalues)
 

Detailed Description

Adds bitcode data to be linked with options.

Parameters
[in]statehip link state
[in]typeType of the input data or bitcode
[in]dataInput data which is null terminated
[in]sizeSize of the input data
[in]nameOptional name for this input
[in]numOptionsSize of the options
[in]optionsArray of options applied to this input
[in]optionValuesArray of option values cast to void*
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidHandle

If adding the file fails, it will

Returns
hipErrorInvalidConfiguration
See also
hipError_t

Member Function/Subroutine Documentation

◆ hiplinkadddata_()

integer(kind(hipsuccess)) function hipfort::hiplinkadddata::hiplinkadddata_ ( type(c_ptr), value  state,
integer(kind(hipjitinputcubin)), value  mytype,
type(c_ptr), value  mydata,
integer(c_size_t), value  mysize,
type(c_ptr), value  name,
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: