move hipFuncSetCacheConfig from hip_device to hip_module

Change-Id: If5a930e1210e76531f5ba9a0e5f5ec98ad473a19
This commit is contained in:
Todd tiantuo Li
2020-08-04 04:11:35 -07:00
parent 4f400bc5e9
commit efcb882e19
2 changed files with 9 additions and 9 deletions
+9
View File
@@ -201,6 +201,15 @@ hipError_t hipFuncSetAttribute ( const void* func, hipFuncAttribute attr, int va
HIP_RETURN(hipSuccess);
}
hipError_t hipFuncSetCacheConfig (const void* func, hipFuncCache_t cacheConfig) {
HIP_INIT_API(hipFuncSetCacheConfig, cacheConfig);
// No way to set cache config yet.
HIP_RETURN(hipSuccess);
}
hipError_t ihipModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
uint32_t blockDimX, uint32_t blockDimY, uint32_t blockDimZ,