From 2de09599ad326e13425b331fcdf577362d989e54 Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 7 Nov 2016 17:49:07 -0500
Subject: [PATCH] P4 to Git Change 1337788 by asalmanp@asalmanp-opencl-stg on
2016/11/07 17:39:47
SWDEV-95903 - Fixing a regression in Conf RQ on Vega10 introduced by CL#1333973. The SVM size was changed from 4096 MB to 16384 MB in this CL and causing a memory allocation failure (out of VA space) when running conformance (test_basic). Change the size back to 4096 MB for now to unblock testing Vega10 with OCL ToT.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/11775/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#260 edit
[ROCm/clr commit: 12242ad8dea48569ca4623435c26e2da6f7fb5cb]
---
projects/clr/rocclr/runtime/utils/flags.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/utils/flags.hpp b/projects/clr/rocclr/runtime/utils/flags.hpp
index de052b77d7..5d4801f766 100644
--- a/projects/clr/rocclr/runtime/utils/flags.hpp
+++ b/projects/clr/rocclr/runtime/utils/flags.hpp
@@ -171,7 +171,7 @@ release(int, AMD_GPU_FORCE_SINGLE_FP_DENORM, -1, \
"Force denorm for single precision: -1 - don't force, 0 - disable, 1 - enable") \
debug(bool, OCL_FORCE_CPU_SVM, false, \
"force svm support for CPU") \
-release(uint, OCL_SET_SVM_SIZE, 16384, \
+release(uint, OCL_SET_SVM_SIZE, 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") \