Skip to content

Commit 2b21582

Browse files
committed
Fix CUDA Runtime CTK test fixture on Windows ARM64
1 parent 1f9e9a4 commit 2b21582

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎cuda_pathfinder/tests/test_ctk_root_discovery.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ def _create_nvvm_in_ctk(ctk_root):
8181
def _create_cudart_in_ctk(ctk_root):
8282
"""Create a fake cudart lib in the platform-appropriate CTK subdirectory."""
8383
if IS_WINDOWS:
84-
lib_dir = ctk_root / "bin"
84+
lib_dir = ctk_root / "bin" / windows_python_arch()
8585
lib_dir.mkdir(parents=True)
86-
lib_file = lib_dir / "cudart64_12.dll"
86+
lib_file = lib_dir / "cudart64_13.dll"
8787
else:
8888
lib_dir = ctk_root / "lib64"
8989
lib_dir.mkdir(parents=True)

0 commit comments

Comments
 (0)