From abefff3eb212e44b2846a4f23eb7504ede658eaa Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 7 Aug 2018 14:51:30 -0400
Subject: [PATCH] P4 to Git Change 1590417 by gandryey@gera-w8 on 2018/08/07
14:30:31
SWDEV-159036 - HBCC is off by default in OCL on WX9100
- Add HBCC size to the global memory. It seems KMD fixed all regressions.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#292 edit
---
rocclr/runtime/utils/flags.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rocclr/runtime/utils/flags.hpp b/rocclr/runtime/utils/flags.hpp
index 9ddaf715e6..93a6710109 100644
--- a/rocclr/runtime/utils/flags.hpp
+++ b/rocclr/runtime/utils/flags.hpp
@@ -155,7 +155,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, 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") \
@@ -171,7 +171,7 @@ release(bool, GPU_ANALYZE_HANG, false, \
"1 = Enables GPU hang analysis") \
release(uint, GPU_MAX_REMOTE_MEM_SIZE, 2, \
"Maximum size (in Ki) that allows device memory substitution with system") \
-release(bool, GPU_ADD_HBCC_SIZE, false, \
+release(bool, GPU_ADD_HBCC_SIZE, true, \
"Add HBCC size to the reported device memory") \
release_on_stg(uint, GPU_WAVE_LIMIT_CU_PER_SH, 0, \
"Assume the number of CU per SH for wave limiter") \