hiplinkadddata Interface Reference#
hipfort::hiplinkadddata Interface Reference
Adds bitcode data to be linked with options. More...
Public Member Functions | |
| integer(c_int) function | hiplinkadddata_ (state, mytype, mydata, mysize, name, numoptions, options, optionvalues) |
| integer(kind(hipsuccess)) function | hiplinkadddata_rank_0 (state, mytype, mydata, mysize, name, numoptions, options, optionvalues) |
| integer(kind(hipsuccess)) function | hiplinkadddata_rank_1 (state, mytype, mydata, mysize, name, numoptions, options, optionvalues) |
Detailed Description
Adds bitcode data to be linked with options.
- Parameters
-
[in] state hip link state [in] type Type of the input data or bitcode [in] data Input data which is null terminated [in] size Size of the input data [in] name Optional name for this input [in] numOptions Size of the options [in] options Array of options applied to this input [in] optionValues Array 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(c_int) function hipfort::hiplinkadddata::hiplinkadddata_ | ( | type(c_ptr), value | state, |
| integer(c_int), 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 | ||
| ) |
◆ hiplinkadddata_rank_0()
| integer(kind(hipsuccess)) function hipfort::hiplinkadddata::hiplinkadddata_rank_0 | ( | type(c_ptr), value | state, |
| integer(kind(hipjitinputcubin)) | mytype, | ||
| type(c_ptr), value | mydata, | ||
| integer(c_size_t) | mysize, | ||
| type(c_ptr), value | name, | ||
| integer(c_int) | numoptions, | ||
| integer(kind(hipjitoptionmaxregisters)), target | options, | ||
| type(c_ptr) | optionvalues | ||
| ) |
◆ hiplinkadddata_rank_1()
| integer(kind(hipsuccess)) function hipfort::hiplinkadddata::hiplinkadddata_rank_1 | ( | type(c_ptr), value | state, |
| integer(kind(hipjitinputcubin)) | mytype, | ||
| type(c_ptr), value | mydata, | ||
| integer(c_size_t) | mysize, | ||
| type(c_ptr), value | name, | ||
| integer(c_int) | numoptions, | ||
| integer(kind(hipjitoptionmaxregisters)), dimension(:), target | options, | ||
| type(c_ptr) | optionvalues | ||
| ) |
The documentation for this interface was generated from the following file: