[clang] [llvm] [clang][CUDA] Avoid accounting for tail padding in LLVM offloading (PR #156229)

Kevin Sala Penades via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 15:47:00 PDT 2025


kevinsala wrote:

I believe I can use the same size (without the trailing padding) for the amdgpu plugin. However, I have to remove the whole check below: https://github.com/llvm/llvm-project/blob/8edb5b4fb3eca44d16325a119257632e1ba003be/offload/plugins-nextgen/amdgpu/src/rtl.cpp#L3660

The check will be invalid because it won't account for the padding in between. Let me know what you think.

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


More information about the llvm-commits mailing list