From d71cf5ef8bc833da5bd83d167724d46bc3733db0 Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 20 Nov 2018 14:47:14 -0500 Subject: [PATCH] P4 to Git Change 1709633 by gandryey@gera-w8 on 2018/11/20 14:28:02 SWDEV-79445 - OCL generic changes and code clean-up - Don't add static LDS usage, since the value from AQL packet will already accumulate that. Also there is a plan to remove the static LDS field from the code object. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#334 edit --- rocclr/runtime/device/gpu/gpukernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/gpu/gpukernel.cpp b/rocclr/runtime/device/gpu/gpukernel.cpp index 1a99ff715c..a6857b39e2 100644 --- a/rocclr/runtime/device/gpu/gpukernel.cpp +++ b/rocclr/runtime/device/gpu/gpukernel.cpp @@ -3473,7 +3473,7 @@ hsa_kernel_dispatch_packet_t* HSAILKernel::loadArguments( // Initialize kernel ISA and execution buffer requirements hsaDisp->private_segment_size = spillSegSize(); - hsaDisp->group_segment_size = ldsAddress - ldsSize(); + hsaDisp->group_segment_size = ldsAddress; hsaDisp->kernel_object = gpuAqlCode()->vmAddress(); ConstBuffer* cb = gpu.constBufs_[0];