[llvm] [Offload] Remove check on kernel argument sizes (PR #162121)

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 10:28:42 PDT 2025


================
@@ -3687,11 +3687,6 @@ Error AMDGPUKernelTy::launchImpl(GenericDeviceTy &GenericDevice,
                                  KernelArgsTy &KernelArgs,
                                  KernelLaunchParamsTy LaunchParams,
                                  AsyncInfoWrapperTy &AsyncInfoWrapper) const {
-  if (ArgsSize != LaunchParams.Size &&
----------------
sarnex wrote:

Seems like the other plugins already trust the given args

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


More information about the llvm-commits mailing list