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;