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


[ROCm/hip commit: 921736782e]
This commit is contained in:
Aditya Atluri
2016-08-19 08:49:34 -05:00
parent d6a5df1ca2
commit 719e91aacf
2 changed files with 87 additions and 43 deletions
@@ -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;