Added hipModuleGetGlobal and hipModuleLoadData

Change-Id: Iaec873f7d86b72911b6ad32e067a4dfe3d552fe6
Este cometimento está contido em:
Aditya Atluri cometeu 2016-08-25 14:16:53 -05:00
1 ascendente 5cca5b3dca
cometimento f22a3189a3
3 ficheiros modificados
+119 -1

Não existem ficheiros que correspondam à sua pesquisa

+2
Ver ficheiro
@@ -401,6 +401,8 @@ public:
hsa_executable_t executable;
hsa_code_object_t object;
std::string fileName;
void *ptr;
size_t size;
};
+6
Ver ficheiro
@@ -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,