P4 to Git Change 1604364 by cpaquot@cpaquot-ocl-lc-lnx on 2018/09/11 15:43:44

SWDEV-145570 - [HIP] Added hipCtxGetSharedMemConfig

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#14 edit


[ROCm/clr commit: 86c038863b]
Этот коммит содержится в:
foreman
2018-09-11 16:08:44 -04:00
родитель 26a372c286
Коммит d0098787c8
+8
Просмотреть файл
@@ -131,6 +131,14 @@ hipError_t hipCtxGetCurrent(hipCtx_t* ctx) {
HIP_RETURN(hipSuccess);
}
hipError_t hipCtxGetSharedMemConfig(hipSharedMemConfig* pConfig) {
HIP_INIT_API(pConfig);
*pConfig = hipSharedMemBankSizeFourByte;
HIP_RETURN(hipSuccess);
}
hipError_t hipRuntimeGetVersion(int *runtimeVersion) {
HIP_INIT_API(runtimeVersion);