[llvm] [AMDGPU] Add dynamic LDS size implicit kernel argument to CO-v5 (PR #65273)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 08:30:44 PDT 2023


skc7 wrote:

> Can you please add this kernarg in OpenMP AMDPGU plugin as well?
> 
> See [assignment of kernargs before kernel launch, groupsegmentsize might refer to the LDS size](https://github.com/llvm/llvm-project/blob/8dc789a22666f9b9fdde54fda23c9332dbc1db9b/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp#L3007) and [ImplictArgs struct definition](https://github.com/llvm/llvm-project/blob/8dc789a22666f9b9fdde54fda23c9332dbc1db9b/openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h#L37)

Made the changes. please review : [65325](https://github.com/llvm/llvm-project/pull/65325)

https://github.com/llvm/llvm-project/pull/65273


More information about the llvm-commits mailing list