cuda-python
cuda-python copied to clipboard
Support converting arbitrary objects to `StridedMemoryView` in `cuda.core.launch()`
During the meeting today, the suggestion made by @kkraus14 was that we should insert a conversion to StridedMemoryView to the end of the loop in ParamHolder so that it is tried and this code
launch(s, config, ker, a)
is legal too, in addition to
launch(s, config, ker, a.data.ptr)
when a is a CuPy array. However, the exact type on the device side will have to be specified in this case (xref: #1281, #748).