From 439ddcff00d76a3b59efd38680cac2d6338b6def Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 24 Jul 2018 16:41:18 -0400 Subject: [PATCH] P4 to Git Change 1584825 by asalmanp@asalmanp-ocl-stg on 2018/07/24 16:08:09 SWDEV-132899 - Propagate -xnack option to Finalizer ReviewURLBoard = http://ocltc.amd.com/reviews/r/15478/ Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#70 edit ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#139 edit --- rocclr/compiler/lib/utils/OPTIONS.def | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rocclr/compiler/lib/utils/OPTIONS.def b/rocclr/compiler/lib/utils/OPTIONS.def index f0da7ee395..71ea48b73c 100644 --- a/rocclr/compiler/lib/utils/OPTIONS.def +++ b/rocclr/compiler/lib/utils/OPTIONS.def @@ -1234,6 +1234,13 @@ OPTION(OT_BOOL, \ false, 0, 0, NULL, \ "Force wave size 32 for compute shader compilation") +// -xnack +OPTION(OT_BOOL, \ + OA_RUNTIME|OVIS_SUPPORT|OVA_DISALLOWED|OFA_NORMAL, \ + "xnack", NULL, \ + SCXnack, \ + false, 0, 0, NULL, \ + "Enable the xnack feature for Finalizer/SC") /* Do not remove the following line. Any option should be