Ensure `alignment` can be passed to `MemoryResource.allocate()`
Open
@leofang is already working on this.
Since Oct 15, 2025.
cuda.core
enhancement
P2
- Dominant language
- Cython
- Stars
- 3.4k
- Forks
- 329
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
Unlike in C++ I think it'd have to be an optional keyword argument, for a few reasons
- To preserve backward compatibility (of both
cuda.coreand RMM Python) - To improve UX (passing an explicit alignment is less common use case, especially if the underlying MR does not support any custom alignment)
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.