fixed compilation bugs

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

Change-Id: I8f815887e4de43ee115bbaff249905b236541c39


[ROCm/clr commit: 2611de2477]
This commit is contained in:
Aditya Atluri
2016-11-21 08:56:30 -06:00
parent df27127960
commit 59c423b36a
7 changed files with 20 additions and 17 deletions
+2 -2
View 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);