Skip to content

Conversation

@oleksandr-pavlyk
Copy link
Collaborator

This PR builds on top of #290. Hence, it should be merged after #290 has been merged.

This PR moves doc-strings for Python objects exposed in cuda.bench namespace from __init__.pyi to implementation file, making doc-strings interactively available to the user. For example, help(cuda.bench.State) would not include doc-strings of the class itself as well as of its methods.

Closes #291

@oleksandr-pavlyk oleksandr-pavlyk changed the title Add docstrings Equip python functions, classes, methods and exceptions with docstrings Dec 9, 2025
@oleksandr-pavlyk oleksandr-pavlyk marked this pull request as ready for review December 9, 2025 21:00
@oleksandr-pavlyk oleksandr-pavlyk self-assigned this Jan 6, 2026
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 6, 2026
Added tests that docstrings exist and are not empty.

This closes NVIDIA#291
Use py::gil_safe_call_once_and_store facility pybind11 provides.
@oleksandr-pavlyk
Copy link
Collaborator Author

@shwina Since #290 has been merged, rebased this PR on top of main. Please take another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Python entities of Python API to NVBench should have docstrings

1 participant