pub unsafe extern "C" fn hipGetProcAddress(
symbol: *const c_char,
pfn: *mut *mut c_void,
hipVersion: c_int,
flags: u64,
symbolStatus: *mut hipDriverProcAddressQueryResult,
) -> hipError_t
Expand description
@brief Gets the pointer of requested HIP driver function.
@param[in] symbol The Symbol name of the driver function to request. @param[out] pfn Output pointer to the requested driver function. @param[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.
@param[in] flags Currently only default flag is suppported. @param[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.
@return #hipSuccess, #hipErrorInvalidValue.