From 2c5424663c7fecc472f51c43c94d0623118c3238 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 23 Jul 2014 15:19:00 -0400 Subject: [PATCH] P4 to Git Change 1058428 by marsenau@marsenau_cl on 2014/07/23 14:39:25 ECR #304775 - Bug 10112 - Raise default unroll threshold. The current default is 100, which is even lower than the LLVM default of 150. Increasing to 200 is a modest increase, and this should probably be even higher. Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#111 edit --- rocclr/compiler/lib/utils/OPTIONS.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocclr/compiler/lib/utils/OPTIONS.def b/rocclr/compiler/lib/utils/OPTIONS.def index 36166481e1..976898cc88 100644 --- a/rocclr/compiler/lib/utils/OPTIONS.def +++ b/rocclr/compiler/lib/utils/OPTIONS.def @@ -560,12 +560,12 @@ OPTION(OT_UINT32, \ "Set loop unroll count to for all loops") // -unroll-threshold= : loop unroll threshold -// default is 100. +// default is 200. OPTION(OT_UINT32, \ OA_RUNTIME|OVIS_SUPPORT|OVA_REQUIRED|OA_SEPARATOR_EQUAL, \ "unroll-threshold", NULL, \ LUThreshold, \ - 100, 0, 0x3FFFFFFF, NULL, \ + 200, 0, 0x3FFFFFFF, NULL, \ "Set loop unroll threshold to for all loops") // -unroll-allow-partial : allow partial unroll