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


[ROCm/clr commit: 2c5424663c]
This commit is contained in:
foreman
2014-07-23 15:19:00 -04:00
parent 71a25ff296
commit 649664914e
@@ -560,12 +560,12 @@ OPTION(OT_UINT32, \
"Set loop unroll count to <number> for all loops")
// -unroll-threshold=<positive integer> : 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 <number> for all loops")
// -unroll-allow-partial : allow partial unroll