hipgetprocaddress Interface Reference

hipgetprocaddress Interface Reference#

HIPFORT API Reference: hipfort::hipgetprocaddress Interface Reference
hipfort::hipgetprocaddress Interface Reference

Gets the pointer of requested HIP driver function. More...

Public Member Functions

integer(kind(hipsuccess)) function hipgetprocaddress_ (symbol, pfn, hipversion, flags, symbolstatus)
 

Detailed Description

Gets the pointer of requested HIP driver function.

Parameters
[in]symbol- The Symbol name of the driver function to request.
[out]pfn- Output pointer to the requested driver function.
[in]hipVersion- The HIP version for the requested driver function symbol. HIP version is defined as 100*version_major + version_minor. For example, in HIP 6.1, the hipversion is 601, for the symbol function "hipGetDeviceProperties", the specified hipVersion 601 is greater or equal to the version 600, the symbol function will be handle properly as backend compatible function.
[in]flags- Currently only default flag is suppported.
[out]symbolStatus- Optional enumeration for returned status of searching for symbol driver function based on the input hipVersion.

Returns hipSuccess if the returned pfn is addressed to the pointer of found driver function.

Returns
hipSuccess, hipErrorInvalidValue.

Member Function/Subroutine Documentation

◆ hipgetprocaddress_()

integer(kind(hipsuccess)) function hipfort::hipgetprocaddress::hipgetprocaddress_ ( type(c_ptr), value  symbol,
type(c_ptr)  pfn,
integer(c_int), value  hipversion,
integer(c_int64_t), value  flags,
type(c_ptr), value  symbolstatus 
)

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