From b77cd5157983b0619cc1d4f895823e910960e4d0 Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 11 Sep 2018 16:08:44 -0400 Subject: [PATCH] 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 --- api/hip/hip_context.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/hip/hip_context.cpp b/api/hip/hip_context.cpp index 0ac257df83..a4971d50d4 100644 --- a/api/hip/hip_context.cpp +++ b/api/hip/hip_context.cpp @@ -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);