mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Export exception to nvbench namespace
This commit is contained in:
@@ -43,6 +43,9 @@ from cuda.nvbench._nvbench import ( # noqa: E402
|
||||
from cuda.nvbench._nvbench import ( # noqa: E402
|
||||
Launch as Launch,
|
||||
)
|
||||
from cuda.nvbench._nvbench import ( # noqa: E402
|
||||
NVBenchRuntimeError as NVBenchRuntimeError,
|
||||
)
|
||||
from cuda.nvbench._nvbench import ( # noqa: E402
|
||||
State as State,
|
||||
)
|
||||
|
||||
@@ -33,7 +33,7 @@ class CudaStream:
|
||||
|
||||
Note
|
||||
----
|
||||
The class is not directly constructible.
|
||||
The class is not user-constructible.
|
||||
"""
|
||||
def __cuda_stream__(self) -> tuple[int, int]:
|
||||
"""
|
||||
@@ -65,6 +65,7 @@ class Benchmark:
|
||||
Note
|
||||
----
|
||||
The class is not user-constructible.
|
||||
|
||||
Use `~register` function to create Benchmark and register
|
||||
it with NVBench.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user