From 7509db20db40c32acd376efe6cc399337da258f6 Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 16 Oct 2017 01:52:40 -0400 Subject: [PATCH] P4 to Git Change 1470428 by kzhuravl@kzhuravl-fiji-ocllc on 2017/10/16 01:46:27 SWDEV-125823 - Fix perforce opencl/rocm build Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#28 edit [ROCm/clr commit: ff21b677d8922e1d58c4f1088355087123e57010] --- projects/clr/rocclr/runtime/device/rocm/rockernel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/rocclr/runtime/device/rocm/rockernel.cpp b/projects/clr/rocclr/runtime/device/rocm/rockernel.cpp index 10a931c30e..79c66ee384 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rockernel.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rockernel.cpp @@ -707,8 +707,8 @@ bool Kernel::init_LC() { /// TODO: Are there any other fields that are getting queried from akc? /// If so, code properties metadata should be used instead. - workGroupInfo_.usedSGPRs_ = kernelMD->mCodeProps.mWavefrontNumSGPRs; - workGroupInfo_.usedVGPRs_ = kernelMD->mCodeProps.mWorkitemNumVGPRs; + workGroupInfo_.usedSGPRs_ = kernelMD->mCodeProps.mNumSGPRs; + workGroupInfo_.usedVGPRs_ = kernelMD->mCodeProps.mNumVGPRs; workGroupInfo_.usedStackSize_ = 0;