fixed hipFuncSetCacheConfig on rocm path
Change-Id: I937a3afbf115edc94a753a0beb2230ed60a6f021
此提交包含在:
@@ -385,7 +385,7 @@ hipError_t hipDeviceGetLimit(size_t *pValue, enum hipLimit_t limit);
|
|||||||
* Note: AMD devices and recent Nvidia GPUS do not support reconfigurable cache. This hint is ignored on those architectures.
|
* Note: AMD devices and recent Nvidia GPUS do not support reconfigurable cache. This hint is ignored on those architectures.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
hipError_t hipFuncSetCacheConfig ( hipFuncCache_t config );
|
hipError_t hipFuncSetCacheConfig (const void* func, hipFuncCache_t config );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Returns bank width of shared memory for current device
|
* @brief Returns bank width of shared memory for current device
|
||||||
|
|||||||
+1
-1
@@ -112,7 +112,7 @@ hipError_t hipDeviceGetLimit (size_t *pValue, hipLimit_t limit)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hipError_t hipFuncSetCacheConfig (hipFuncCache_t cacheConfig)
|
hipError_t hipFuncSetCacheConfig (const void* func, hipFuncCache_t cacheConfig)
|
||||||
{
|
{
|
||||||
HIP_INIT_API(cacheConfig);
|
HIP_INIT_API(cacheConfig);
|
||||||
|
|
||||||
|
|||||||
新增問題並參考
封鎖使用者