Document best practices in preparing arguments for cuLaunchKernel
#127
Labels
cuda.bindings
Everything related to the cuda.bindings module
documentation
Improvements or additions to documentation
P1
Medium priority - Should do
Milestone
@gigony complained the following example is unclear compared to CuPy's RawKernel, and I agree.
cuda-python/docs_src/source/overview.md
Lines 208 to 223 in e1e3325
Specifically, how to pass typed pointers and scalars is really unclear.
This also raises the question: It seems NumPy has to be a run-time dependency of cuda-python (which is completely fine, since it is impossible that users have GPU projects installed to an environment where NumPy does not exist, we just need to ensure this intent is expressed as a package dependency).
For comparison, here's
cupy.RawKernel
's documentationhttps://docs.cupy.dev/en/stable/user_guide/kernel.html#kernel-arguments
The text was updated successfully, but these errors were encountered: