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
Esse commit está contido em:
foreman
2018-09-11 16:08:44 -04:00
commit 86c038863b
+8
Ver Arquivo
@@ -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);