SWDEV-496003 - Add support for dynamic functions in hipFuncSetAttribute
Modified hipFuncSetAttribute to handle pointers to dynamic functions returned by hipModuleGetFunction. Change-Id: I54b98f9d31a79630dd7edcd363fad81f1d89219b
This commit is contained in:
committed by
Rakesh Roy
parent
e4d29e228d
commit
1a710dabcf
@@ -61,7 +61,7 @@ class PlatformState {
|
||||
// Dynamic Code Objects functions
|
||||
hipError_t loadModule(hipModule_t* module, const char* fname, const void* image = nullptr);
|
||||
hipError_t unloadModule(hipModule_t hmod);
|
||||
|
||||
bool isValidDynFunc(const void* hfunc);
|
||||
hipError_t getDynFunc(hipFunction_t* hfunc, hipModule_t hmod, const char* func_name);
|
||||
hipError_t getDynGlobalVar(const char* hostVar, hipModule_t hmod, hipDeviceptr_t* dev_ptr,
|
||||
size_t* size_ptr);
|
||||
|
||||
Reference in New Issue
Block a user