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
Этот коммит содержится в:
@@ -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);
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user