SWDEV-240803 - add hipFuncSetSharedMemConfig

Change-Id: I160b04677b3e7b99b3981ae7ecc84a0e3811d5e8


[ROCm/hip commit: 99eb486937]
This commit is contained in:
Todd tiantuo Li
2020-08-18 05:19:01 -07:00
parent fc61d76630
commit d42822325f
7 changed files with 37 additions and 2 deletions
+1
View File
@@ -57,6 +57,7 @@ hipFree
hipFreeArray
hipFuncSetAttribute
hipFuncSetCacheConfig
hipFuncSetSharedMemConfig
hipGetDevice
hipGetDeviceCount
hipGetDeviceProperties
+1
View File
@@ -58,6 +58,7 @@ global:
hipFreeArray;
hipFuncSetAttribute;
hipFuncSetCacheConfig;
hipFuncSetSharedMemConfig;
hipGetDevice;
hipGetDeviceCount;
hipGetDeviceProperties;
+8
View File
@@ -210,6 +210,14 @@ hipError_t hipFuncSetCacheConfig (const void* func, hipFuncCache_t cacheConfig)
HIP_RETURN(hipSuccess);
}
hipError_t hipFuncSetSharedMemConfig ( const void* func, hipSharedMemConfig config) {
HIP_INIT_API(hipFuncSetSharedMemConfig, func, config);
// No way to set Shared Memory config function 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,