fixed compilation bugs

1. Texture functions are now compiling fine
2. Fixed hipFuncCache to hipFuncCache_t

Change-Id: I8f815887e4de43ee115bbaff249905b236541c39
This commit is contained in:
Aditya Atluri
2016-11-21 08:56:30 -06:00
orang tua afaa5fcf96
melakukan 2412c9a061
7 mengubah file dengan 20 tambahan dan 17 penghapusan
+2 -2
Melihat File
@@ -217,7 +217,7 @@ hipError_t hipCtxGetApiVersion (hipCtx_t ctx,int *apiVersion)
return ihipLogStatus(hipSuccess);
}
hipError_t hipCtxGetCacheConfig ( hipFuncCache *cacheConfig )
hipError_t hipCtxGetCacheConfig ( hipFuncCache_t *cacheConfig )
{
HIP_INIT_API(cacheConfig);
@@ -226,7 +226,7 @@ hipError_t hipCtxGetCacheConfig ( hipFuncCache *cacheConfig )
return ihipLogStatus(hipSuccess);
}
hipError_t hipCtxSetCacheConfig ( hipFuncCache cacheConfig )
hipError_t hipCtxSetCacheConfig ( hipFuncCache_t cacheConfig )
{
HIP_INIT_API(cacheConfig);