fixed compilation bugs
1. Texture functions are now compiling fine 2. Fixed hipFuncCache to hipFuncCache_t Change-Id: I8f815887e4de43ee115bbaff249905b236541c39
This commit is contained in:
1 bovenliggende
b3c16ea7b5
commit
2611de2477
7 files changed
+20
-17
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user