File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959from cuda .pathfinder ._static_libs .find_static_lib import (
6060 locate_static_lib as locate_static_lib ,
6161)
62- from cuda .pathfinder ._utils .driver_info import DriverCudaVersion as DriverCudaVersion
63- from cuda .pathfinder ._utils .driver_info import QueryDriverCudaVersionError as QueryDriverCudaVersionError
64- from cuda .pathfinder ._utils .driver_info import query_driver_cuda_version as query_driver_cuda_version
6562from cuda .pathfinder ._utils .env_vars import get_cuda_path_or_home as get_cuda_path_or_home
6663
6764from cuda .pathfinder ._version import __version__ # isort: skip
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ CUDA bitcode and static libraries.
1818
1919 get_cuda_path_or_home
2020
21- DriverCudaVersion
22- QueryDriverCudaVersionError
23- query_driver_cuda_version
24-
2521 SUPPORTED_NVIDIA_LIBNAMES
2622 load_nvidia_dynamic_lib
2723 LoadedDL
Original file line number Diff line number Diff line change 55
66import pytest
77
8- from cuda .pathfinder import (
9- DriverCudaVersion as PublicDriverCudaVersion ,
10- )
11- from cuda .pathfinder import (
12- QueryDriverCudaVersionError as PublicQueryDriverCudaVersionError ,
13- )
14- from cuda .pathfinder import (
15- query_driver_cuda_version as public_query_driver_cuda_version ,
16- )
178from cuda .pathfinder ._dynamic_libs .load_dl_common import LoadedDL
189from cuda .pathfinder ._utils import driver_info
1910
@@ -51,12 +42,6 @@ def _loaded_cuda(abs_path: str) -> LoadedDL:
5142 )
5243
5344
54- def test_driver_cuda_version_public_api_exports ():
55- assert PublicDriverCudaVersion is driver_info .DriverCudaVersion
56- assert PublicQueryDriverCudaVersionError is driver_info .QueryDriverCudaVersionError
57- assert public_query_driver_cuda_version is driver_info .query_driver_cuda_version
58-
59-
6045def test_query_driver_cuda_version_uses_windll_on_windows (monkeypatch ):
6146 fake_driver_lib = _FakeDriverLib (status = 0 , version = 12080 )
6247 loaded_paths : list [str ] = []
You can’t perform that action at this time.
0 commit comments