From 4f3b9070291f9c530ab5dec3ce1d680a3bbb4db0 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 6 Sep 2018 18:14:28 -0400
Subject: [PATCH] P4 to Git Change 1602680 by cpaquot@cpaquot-ocl-lc-lnx on
2018/09/06 17:59:01
SWDEV-145570 - [HIP] Bump max command queues to 300 for HIP.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#298 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 981fbb01a9..be54d11a72 100644
--- a/rocclr/runtime/utils/flags.hpp
+++ b/rocclr/runtime/utils/flags.hpp
@@ -12,7 +12,7 @@ debug(int, LOG_LEVEL, 0, \
"The default log level") \
debug(uint, DEBUG_GPU_FLAGS, 0, \
"The debug options for GPU device") \
-release(uint, GPU_MAX_COMMAND_QUEUES, 70, \
+release(uint, GPU_MAX_COMMAND_QUEUES, IF(IS_HIP, 300, 70), \
"The maximum number of concurrent Virtual GPUs") \
release(size_t, CQ_THREAD_STACK_SIZE, 256*Ki, /* @todo: that much! */ \
"The default command queue thread stack size") \