Added hipModuleGetGlobal and hipModuleLoadData

Change-Id: Iaec873f7d86b72911b6ad32e067a4dfe3d552fe6
Tá an tiomantas seo le fáil i:
Aditya Atluri tiomanta 2016-08-25 14:16:53 -05:00
1 tuismitheoir 5cca5b3dca
tiomantas f22a3189a3
3 comhad athraithe
+119 -1

Níor tháinig aon chomhaid le do chuardach

+2
Féach ar an gComhad
@@ -401,6 +401,8 @@ public:
hsa_executable_t executable;
hsa_code_object_t object;
std::string fileName;
void *ptr;
size_t size;
};
+6
Féach ar an gComhad
@@ -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,