Files
nvbench/docs/sphinx-combined/cpp_api.rst
Oleksandr Pavlyk 807917cf54 Add scaffolding to build C++/Python docs
Add sphinx-combined folder that builds combined C++ & Python docs

Fixed relative text alignment in docstrings to fix autodoc warnigns

Renamed cuda.bench.test_cpp_exception and cuda.bench.test_py_exception functions
to start with underscore, signaling that these functions are internal and should
not be documented

Account for test_cpp_exceptions -> _test_cpp_exception, same for *_py_*

Fix cpp_benchmarks, add py_benchmarks

1. Fixed xrefs in docs/sphinx-combined/cpp_benchmarks.md, which is built on top of
   docs/benchmarks.md

   Added level-1 heading, and pushed existing headings one level down.

2. Added py_benchmarks.md to document benchmarking of Python scripts.

3. Rearranged entries in index.rst so that overview documents come before
   API enumeration.

Make sure to reset __module__ of reexported symbols to be cuda.bench

Enumerate free functions in nvbench:: namespace

Tweak to index.rst intro sentence and title

Changed title, fixed references, added intro borrowed from README

Fix punctuation in one of the itemlist item text

Hide TOC from the index page. It is too long and confusing
2026-03-24 16:21:39 -05:00

41 lines
797 B
ReStructuredText

NVBench C++ API Reference
=========================
Index
-----
.. doxygenindex::
:project: nvbench
Free Functions
--------------
.. doxygenfunction:: nvbench::make_cuda_stream_view
:project: nvbench
.. doxygenfunction:: nvbench::axis_type_to_string
:project: nvbench
.. doxygenfunction:: nvbench::add_devices_section
:project: nvbench
.. doxygenfunction:: nvbench::range
:project: nvbench
.. doxygenfunction:: nvbench::sleep_kernel
:project: nvbench
.. doxygenfunction:: nvbench::copy_kernel
:project: nvbench
.. doxygenfunction:: nvbench::mod2_kernel
:project: nvbench
.. doxygenfunction:: nvbench::demangle(const std::string &str)
:project: nvbench
.. cpp:function:: template <typename T> std::string nvbench::demangle()
Returns demangled type name.