Support passing structs as kernel `launch()` arguments
Open
@lijinf2 is already working on this.
Since Jul 11, 2026.
cuda.core
enhancement
P1
- Dominant language
- Cython
- Stars
- 3.4k
- Forks
- 329
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
xref:
https://github.com/NVIDIA/cuda-python/blob/060578ab92f676d760bf698a653584e31306d8cb/cuda_core/cuda/core/_kernel_arg_handler.pyx#L356
Try NumPy first, then ctypes.
Note: This is for passing single structs by value. For passing an array of structs by pointer (to gmem) it's a separate task.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.