From 06d9ea2d7f997f5463d666d2fddff019ff2af307 Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 4 Jan 2016 20:15:09 -0500
Subject: [PATCH] P4 to Git Change 1224596 by xcui@merged_opencl_jxcwin on
2016/01/04 20:06:30
SWDEV-80174 - changed the flag settting, so that the env variable OCL_SET_SVM_SIZE can be used on release version of opencl, not just for debug version.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#250 edit
[ROCm/clr commit: 232af87dbf4e4d131f9cb0c4ba611e363abf1c67]
---
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 ce361cb92f..1bb00d6956 100644
--- a/projects/clr/rocclr/runtime/utils/flags.hpp
+++ b/projects/clr/rocclr/runtime/utils/flags.hpp
@@ -173,7 +173,7 @@ release(bool, GPU_FORCE_FP16, false, \
"Force CL_KHR_FP16 extension") \
debug(bool, OCL_FORCE_CPU_SVM, false, \
"force svm support for CPU") \
-debug(uint, OCL_SET_SVM_SIZE, 4096, \
+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") \