[llvm] [offload] Add olLaunchKernelWithPtrArgs with an argument pointer array (PR #194333)

Piotr Balcer via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 08:38:43 PDT 2026


pbalcer wrote:

> @pbalcer Is there any reason to exclude the number of arguments (i.e., number of elements in ArgPtrs and ArgSizes) from `olLaunchKernel` parameters?

No backend requires it. CUDA and L0 natively support accepting array of argument pointers, AMDGPU has all necessary information in the kernel metadata, and, finally, OpenCL has a query to retrieve the number of arguments for a kernel.

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


More information about the llvm-commits mailing list