mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-29 03:01:14 +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
|
from cuda.nvbench._nvbench import ( # noqa: E402
|
||||||
Launch as Launch,
|
Launch as Launch,
|
||||||
)
|
)
|
||||||
|
from cuda.nvbench._nvbench import ( # noqa: E402
|
||||||
|
NVBenchRuntimeError as NVBenchRuntimeError,
|
||||||
|
)
|
||||||
from cuda.nvbench._nvbench import ( # noqa: E402
|
from cuda.nvbench._nvbench import ( # noqa: E402
|
||||||
State as State,
|
State as State,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class CudaStream:
|
|||||||
|
|
||||||
Note
|
Note
|
||||||
----
|
----
|
||||||
The class is not directly constructible.
|
The class is not user-constructible.
|
||||||
"""
|
"""
|
||||||
def __cuda_stream__(self) -> tuple[int, int]:
|
def __cuda_stream__(self) -> tuple[int, int]:
|
||||||
"""
|
"""
|
||||||
@@ -65,6 +65,7 @@ class Benchmark:
|
|||||||
Note
|
Note
|
||||||
----
|
----
|
||||||
The class is not user-constructible.
|
The class is not user-constructible.
|
||||||
|
|
||||||
Use `~register` function to create Benchmark and register
|
Use `~register` function to create Benchmark and register
|
||||||
it with NVBench.
|
it with NVBench.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user