Added hipModuleGetGlobal and hipModuleLoadData
Change-Id: Iaec873f7d86b72911b6ad32e067a4dfe3d552fe6
이 커밋은 다음에 포함됨:
@@ -401,6 +401,8 @@ public:
|
||||
hsa_executable_t executable;
|
||||
hsa_code_object_t object;
|
||||
std::string fileName;
|
||||
void *ptr;
|
||||
size_t size;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -56,6 +56,8 @@ typedef struct ihipModule_t *hipModule;
|
||||
|
||||
typedef struct ihipFunction_t *hipFunction;
|
||||
|
||||
typedef void* hipDeviceptr;
|
||||
|
||||
typedef struct hipEvent_t {
|
||||
struct ihipEvent_t *_handle;
|
||||
} hipEvent_t;
|
||||
@@ -1111,6 +1113,10 @@ hipError_t hipModuleUnload(hipModule module);
|
||||
|
||||
hipError_t hipModuleGetFunction(hipFunction *function, hipModule module, const char *kname);
|
||||
|
||||
hipError_t hipModuleGetGlobal(hipDeviceptr *dptr, size_t *bytes, hipModule hmod, const char *name);
|
||||
|
||||
hipError_t hipModuleLoadData(hipModule *module, const void *image);
|
||||
|
||||
hipError_t hipLaunchModuleKernel(hipFunction f,
|
||||
unsigned int gridDimX,
|
||||
unsigned int gridDimY,
|
||||
|
||||
새 이슈에서 참조
사용자 차단