SWDEV-444021 - Implement hipGetFuncBySymbol

Change-Id: Ic82715135d0f901ada9b97a86afe0e4c2221a4e9


[ROCm/hip commit: 1ca7e3c22f]
This commit is contained in:
Satyanvesh Dittakavi
2024-02-15 09:44:42 +00:00
parent e1a3c2fc16
commit 0e3a45f7b7
@@ -5338,6 +5338,16 @@ hipError_t hipFuncGetAttributes(struct hipFuncAttributes* attr, const void* func
* @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidDeviceFunction
*/
hipError_t hipFuncGetAttribute(int* value, hipFunction_attribute attrib, hipFunction_t hfunc);
/**
* @brief Gets pointer to device entry function that matches entry function symbolPtr.
*
* @param [out] functionPtr Device entry function
* @param [in] symbolPtr Pointer to device entry function to search for
*
* @returns #hipSuccess, #hipErrorInvalidDeviceFunction
*
*/
hipError_t hipGetFuncBySymbol(hipFunction_t* functionPtr, const void* symbolPtr);
/**
* @brief returns the handle of the texture reference with the name from the module.
*