diff --git a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp index d5a88d9513..e6de7591ec 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp @@ -1407,9 +1407,7 @@ HSAILProgram::linkImpl(amd::option::Options *options) workgroupGroupSegmentByteSize, workitemPrivateSegmentByteSize, kernargSegmentByteSize, - kernargSegmentAlignment, - md.numHiddenKernelArgs - ); + kernargSegmentAlignment); if (!aKernel->init()) { return false; }