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
이 커밋은 다음에 포함됨:
Aditya Atluri
2016-08-19 08:49:34 -05:00
부모 1d12e8cb1c
커밋 921736782e
2개의 변경된 파일과 87개의 추가작업 그리고 43개의 파일을 삭제
+8 -2
파일 보기
@@ -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;