From fad3d44aa94c5a9d7eade376c0801f0fc991cf4e Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 5 Feb 2019 14:37:23 -0500 Subject: [PATCH] P4 to Git Change 1740041 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/05 13:58:22 SWDEV-145570 - [HIP] Increase SVM size In MGPU setups, we need more SVM to accomodate up to 4 GPUs @ 16GB each. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#302 edit --- rocclr/runtime/utils/flags.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/utils/flags.hpp b/rocclr/runtime/utils/flags.hpp index deb939e4f5..5ae928049c 100644 --- a/rocclr/runtime/utils/flags.hpp +++ b/rocclr/runtime/utils/flags.hpp @@ -131,7 +131,7 @@ release(bool, DISABLE_DEFERRED_ALLOC, false, \ "Disables deferred memory allocation on device") \ release(int, AMD_GPU_FORCE_SINGLE_FP_DENORM, -1, \ "Force denorm for single precision: -1 - don't force, 0 - disable, 1 - enable") \ -release(uint, OCL_SET_SVM_SIZE, IF(IS_HIP, 16384, 4096), \ +release(uint, OCL_SET_SVM_SIZE, IF(IS_HIP, 4*16384, 4096), \ "set SVM space size for discrete GPU") \ debug(uint, OCL_SYSMEM_REQUIREMENT, 2, \ "Use flag to change the minimum requirement of system memory not to downgrade") \