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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user