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
parent afaa5fcf96
commit 2412c9a061
7 changed files with 20 additions and 17 deletions
+2 -2
View File
@@ -80,7 +80,7 @@ hipError_t hipDeviceSetCacheConfig(hipFuncCache_t cacheConfig)
return ihipLogStatus(hipSuccess);
}
hipError_t hipDeviceGetCacheConfig(hipFuncCache *cacheConfig)
hipError_t hipDeviceGetCacheConfig(hipFuncCache_t *cacheConfig)
{
HIP_INIT_API(cacheConfig);
@@ -105,7 +105,7 @@ hipError_t hipDeviceGetLimit (size_t *pValue, hipLimit_t limit)
}
}
hipError_t hipFuncSetCacheConfig (hipFuncCache cacheConfig)
hipError_t hipFuncSetCacheConfig (hipFuncCache_t cacheConfig)
{
HIP_INIT_API(cacheConfig);