SWDEV-444021 - Implement hipGetFuncBySymbol

Change-Id: Ic82715135d0f901ada9b97a86afe0e4c2221a4e9
This commit is contained in:
Satyanvesh Dittakavi
2024-02-15 09:44:42 +00:00
orang tua 1b4e346c8c
melakukan 1ca7e3c22f
+10
Melihat File
@@ -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.
*