Added support for executable and symbols for data structures

- symbol handle is added to hipFunction
- executable handle is added to hipModule
- This way, the APIs doesn't need to track the values

Change-Id: I7cf05329cf79fe946319d7746bd9f5503268fda4
Esse commit está contido em:
Aditya Atluri
2016-08-19 08:49:34 -05:00
commit 9eaabb507c
2 arquivos alterados com 87 adições e 43 exclusões
+8 -2
Ver Arquivo
@@ -52,9 +52,15 @@ typedef struct ihipDevice_t *hipDevice_t;
typedef struct ihipStream_t *hipStream_t;
typedef uint64_t hipFunction;
typedef struct {
uint64_t kernel;
uint64_t symbol;
}hipFunction;
typedef uint64_t hipModule;
typedef struct{
uint64_t executable;
uint64_t object;
} hipModule;
typedef struct hipEvent_t {
struct ihipEvent_t *_handle;