changed internal structure of hipFunction and hipModule
Change-Id: Ifa343782e29d7e056efc47e56253311013005093
This commit is contained in:
@@ -396,6 +396,20 @@ public:
|
||||
typedef ihipStreamCriticalBase_t<StreamMutex> ihipStreamCritical_t;
|
||||
typedef LockedAccessor<ihipStreamCritical_t> LockedAccessor_StreamCrit_t;
|
||||
|
||||
class ihipModule_t{
|
||||
public:
|
||||
hsa_executable_t executable;
|
||||
hsa_code_object_t object;
|
||||
std::string fileName;
|
||||
};
|
||||
|
||||
|
||||
class ihipFunction_t{
|
||||
public:
|
||||
hsa_executable_symbol_t kernel_symbol;
|
||||
uint64_t kernel;
|
||||
};
|
||||
|
||||
// Internal stream structure.
|
||||
class ihipStream_t {
|
||||
public:
|
||||
|
||||
@@ -52,15 +52,9 @@ typedef struct ihipDevice_t *hipDevice_t;
|
||||
|
||||
typedef struct ihipStream_t *hipStream_t;
|
||||
|
||||
typedef struct {
|
||||
uint64_t kernel;
|
||||
uint64_t symbol;
|
||||
}hipFunction;
|
||||
typedef struct ihipModule_t *hipModule;
|
||||
|
||||
typedef struct{
|
||||
uint64_t executable;
|
||||
uint64_t object;
|
||||
} hipModule;
|
||||
typedef struct ihipFunction_t *hipFunction;
|
||||
|
||||
typedef struct hipEvent_t {
|
||||
struct ihipEvent_t *_handle;
|
||||
|
||||
Reference in New Issue
Block a user