Open
Labels
P2Low priority - Nice to haveLow priority - Nice to havecuda.bindingsEverything related to the cuda.bindings moduleEverything related to the cuda.bindings moduledocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
According to @vzhurba01 the warnings are mostly due to the fact that some types are shared (?) across multiple modules and they are benign. Would be nice to figure out a way to suppress this particular warning, so that other warnings are not cluttered in-between and become noise.
Metadata
Metadata
Assignees
Labels
P2Low priority - Nice to haveLow priority - Nice to havecuda.bindingsEverything related to the cuda.bindings moduleEverything related to the cuda.bindings moduledocumentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
- StatusShow more project fieldsTodo
Activity
leofang commentedon Oct 12, 2024
An example warning
leofang commentedon Oct 12, 2024
I believe this is a legitimate warning, as the raw docstring is
:py:obj:`~.srcPitch`, which does not provide the struct name that thesrcPitchmember belongs to. However, there's nothing we can do as it's already missing from the original doc source:https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__MEM.html#group__CUDA__MEM_1g27f885b30c34cc20a663a671dbf6fc27
so we do need to find a way to just suppress such warnings...
leofang commentedon Oct 12, 2024
@vzhurba01 this looks like a docgen bug:
https://github.com/NVIDIA/cuda-python/blob/f9f67c8ba2698c56eede95fe1b55bca3ce26d9a4/cuda_bindings/cuda/bindings/driver.pyx.in#L31341
Sphinx output:
leofang commentedon Oct 12, 2024
This one too:
https://github.com/NVIDIA/cuda-python/blob/f9f67c8ba2698c56eede95fe1b55bca3ce26d9a4/cuda_bindings/cuda/bindings/runtime.pyx.in#L20967
Sphinx output:
eliminate warnings due to repeated or non-existent entries