From 252525974e338e2d52b016d9bd5d2ab70e3aebe9 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 2 Oct 2014 14:53:40 -0400
Subject: [PATCH] P4 to Git Change 1083545 by yaxunl@yaxunl_stg_win50 on
2014/10/02 11:58:08
EPR #402000 - [CQE OCL][Perf][QR] ~6-7% perf drop in CompuCL Benchmark (Graphics: T-Rex subtest).
Enable -scras=2.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#117 edit
---
rocclr/compiler/lib/utils/OPTIONS.def | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rocclr/compiler/lib/utils/OPTIONS.def b/rocclr/compiler/lib/utils/OPTIONS.def
index 83d0fd0bde..5026355dc3 100644
--- a/rocclr/compiler/lib/utils/OPTIONS.def
+++ b/rocclr/compiler/lib/utils/OPTIONS.def
@@ -755,9 +755,9 @@ OPTION(OT_UINT32, \
OA_RUNTIME|OVIS_SUPPORT|OVA_REQUIRED|OA_SEPARATOR_EQUAL, \
"scras", "sc-si-opt-reg-alloc-strategy", \
SCSIOptRegAllocStrategy, \
- 0, 0, 3, NULL, \
- "Set SI+ shader compiler register allocation strategy 0-default, "
- "1-balanced, 2-minimize GPRs, 3-minimize moves (default 0).")
+ 2, 0, 3, NULL, \
+ "Set SI+ shader compiler register allocation strategy 0-SC default, "
+ "1-balanced, 2-minimize GPRs, 3-minimize moves (default 2).")
// -fuser-no-inline -fno-user-no-inline
OPTION(OT_BOOL, \