From 1330285eca4ec565935497d45f49985a7796056f Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 13 Jan 2017 17:56:50 -0500 Subject: [PATCH] P4 to Git Change 1361929 by smekhano@stas-rampitec-hsa on 2017/01/13 17:49:16 SWDEV-109533 - AMDIL: increase inline cost threshold from 400 to 14000 This is the w/a to allow Blender work on SI device. Testing: precheckin Reviewed by Boleslaw Ciesielski Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/OPTIONS.def#6 edit ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#135 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 c814ee7554..407de272ac 100644 --- a/rocclr/compiler/lib/utils/OPTIONS.def +++ b/rocclr/compiler/lib/utils/OPTIONS.def @@ -824,13 +824,13 @@ OPTION(OT_INT32, \ "Set AMDIL shader compiler optimization level -1,0,1,2,3,4 (default -1 " "auto).") -// -ilcth=int or --inline-cost-threshold (default 400) +// -ilcth=int or --inline-cost-threshold (default 14000) OPTION(OT_UINT32, \ OA_LINK_EXE|OA_RUNTIME|OVIS_SUPPORT|OVA_REQUIRED|OA_SEPARATOR_EQUAL, \ "ilcth", "inline-cost-threshold", \ InlineCostThreshold, \ - 400, 0, 0xFFFFFFFF, NULL, \ - "Set cost threshold for inliner (default 400).") + 14000, 0, 0xFFFFFFFF, NULL, \ + "Set cost threshold for inliner (default 14000).") // -ilsth=int or --inline-size-threshold (default 50) OPTION(OT_UINT32, \