Rename NVBenchRuntimeException to NVBenchRuntimeError

Added exception to __init__.pyi
This commit is contained in:
Oleksandr Pavlyk
2025-07-25 16:58:02 -05:00
parent b97e27cbf2
commit b6821b7624
2 changed files with 6 additions and 1 deletions

View File

@@ -595,7 +595,7 @@ PYBIND11_MODULE(_nvbench, m)
// Use handle to take a memory leak here, since this object's destructor may be called after
// interpreter has shut down
benchmark_exc =
py::exception<nvbench_run_error>(m, "NVBenchRuntimeException", PyExc_RuntimeError).release();
py::exception<nvbench_run_error>(m, "NVBenchRuntimeError", PyExc_RuntimeError).release();
// == STEP 6
// ATTN: nvbench::benchmark_manager is a singleton