Merge pull request #744 from mangupta/hipfuncattrib

typedef struct hipFuncAttributes now C compatible.
Tá an tiomantas seo le fáil i:
Maneesh Gupta
2018-10-31 16:25:25 +05:30
tiomanta ag GitHub
tuismitheoir 9199fe21dd bb447dd76e
tiomantas 1c093592fa
+2 -2
Féach ar an gComhad
@@ -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;