Is this a duplicate?
Is this for new documentation, or an update to existing docs?
Update
Describe the incorrect/future/missing documentation
The code included in the getting started section does not run because it is missing an import for cupy and initializing cupy's random number generator. To get the example to work, a user would have to navigate the Github repo to the /examples/ folder and find the addVector example. Making these two small changes would make the getting started documentation stand-alone.
(I'm submitting this Issue so that I can submit the PR to fix it as well)
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/cuda-python/cuda-core/latest/getting-started.html#example-compiling-and-launching-a-cuda-kernel
Is this a duplicate?
Is this for new documentation, or an update to existing docs?
Update
Describe the incorrect/future/missing documentation
The code included in the getting started section does not run because it is missing an import for cupy and initializing cupy's random number generator. To get the example to work, a user would have to navigate the Github repo to the
/examples/folder and find theaddVectorexample. Making these two small changes would make the getting started documentation stand-alone.(I'm submitting this Issue so that I can submit the PR to fix it as well)
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/cuda-python/cuda-core/latest/getting-started.html#example-compiling-and-launching-a-cuda-kernel