From 7cb94a1247479c830c647e5a2fb66dc486035198 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 20 Jan 2015 11:36:54 -0500
Subject: [PATCH] P4 to Git Change 1113275 by jatang@jatang-opencl-hsa-stg1 on
2015/01/20 11:17:41
EPR #412821 - Default AMD_THREAD_TRACE_ENABLE to true for stg.
So OpenCL sanity will test the OCLThreadTrace test.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#224 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 5cdee5b26c..6b18aaaf96 100644
--- a/rocclr/runtime/utils/flags.hpp
+++ b/rocclr/runtime/utils/flags.hpp
@@ -154,7 +154,7 @@ release(bool, GPU_USE_DEVICE_QUEUE, false, \
"Use a dedicated device queue for the actual submissions") \
release(bool, GPU_ENABLE_LARGE_ALLOCATION, false, \
"Enable >4GB single allocations") \
-release(bool, AMD_THREAD_TRACE_ENABLE, false, \
+release(bool, AMD_THREAD_TRACE_ENABLE, !IS_MAINLINE, \
"Enable thread trace extension") \
release(uint, OPENCL_VERSION, 200, \
"Force GPU opencl verison") \