cuda-python
cuda-python copied to clipboard
Ensure `alignment` can be passed to `MemoryResource.allocate()`
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)