typedef struct hipFuncAttributes now C compatible.

Fixes #591.
Fixes #694.


[ROCm/hip commit: bb447dd76e]
This commit is contained in:
Jeff Daily authored and Maneesh Gupta committed 2018-10-31 14:12:45 +05:30
1 parent d17d335d6f
commit c28043bc4f
1 file changed
+2 -2
@@ -94,7 +94,7 @@ typedef struct ihipModule_t* hipModule_t;
typedef struct ihipModuleSymbol_t* hipFunction_t;
struct hipFuncAttributes {
typedef struct hipFuncAttributes {
int binaryVersion;
int cacheModeCA;
size_t constSizeBytes;
@@ -105,7 +105,7 @@ struct hipFuncAttributes {
int preferredShmemCarveout;
int ptxVersion;
size_t sharedSizeBytes;
};
} hipFuncAttributes;
typedef struct ihipEvent_t* hipEvent_t;