[DOC]: Modernize cuda.parallel.experimental.reduce_info
example in the docstring
#2307
Closed
1 task done
Labels
doc
Documentation-related items.
Is this a duplicate?
Is this for new documentation, or an update to existing docs?
Update
Describe the incorrect/future/missing documentation
The existing docs is based on this test file:
cccl/python/cuda_parallel/tests/test_reduce_api.py
Lines 14 to 38 in 0a1cddb
However it is not the modern/canonical usage that we'd like to encourage. For example, CuPy ndarrays should be used instead of the primitive Numba device arrays. It might require some internal changes in how
cuda.parallel
fetches the pointer to the ndarray's buffer.If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.
https://nvidia.github.io/cccl/cuda_parallel/#cuda.parallel.experimental.reduce_into
The text was updated successfully, but these errors were encountered: