[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
Thu Sep 18 10:45:03 PDT 2025
================
@@ -3655,11 +3655,6 @@ Error AMDGPUKernelTy::launchImpl(GenericDeviceTy &GenericDevice,
KernelArgsTy &KernelArgs,
KernelLaunchParamsTy LaunchParams,
AsyncInfoWrapperTy &AsyncInfoWrapper) const {
- if (ArgsSize != LaunchParams.Size &&
----------------
kevinsala wrote:
I could compute the padded size (to a pointer alignment, which is the alignment of implicit args) and keep the check. But I'm not sure if it's worthy.
https://github.com/llvm/llvm-project/pull/156229
More information about the llvm-commits
mailing list