From ec51f85c8e1ab8ada2ce26d5b3662403cc3fc908 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 13 Jan 2016 18:18:51 -0500
Subject: [PATCH] P4 to Git Change 1227495 by
skudchad@skudchad_test_win_opencl2 on 2016/01/13 18:12:59
SWDEV-77172 - Disable ThreadTrace on SVM as its causing hang until a solution can be found.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/9502/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#341 edit
---
rocclr/runtime/device/gpu/gpusettings.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/gpu/gpusettings.cpp b/rocclr/runtime/device/gpu/gpusettings.cpp
index a3e362dcf6..1592b9f8ba 100644
--- a/rocclr/runtime/device/gpu/gpusettings.cpp
+++ b/rocclr/runtime/device/gpu/gpusettings.cpp
@@ -227,7 +227,7 @@ Settings::create(
ciPlus_ = true;
sdmaProfiling_ = true;
hsail_ = GPU_HSAIL_ENABLE;
- threadTraceEnable_ = AMD_THREAD_TRACE_ENABLE;
+ threadTraceEnable_ = calAttr.isSVMFineGrainSystem ? false : AMD_THREAD_TRACE_ENABLE;
// Fall through to SI ...
case CAL_TARGET_PITCAIRN:
case CAL_TARGET_CAPEVERDE: