Skip to content

Commit 3bd069a

Browse files
authored
fix(pathfinder): place Windows arm64 cudart test fixtures under bin/arm64 (#2528)
1 parent 1f9e9a4 commit 3bd069a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

cuda_pathfinder/tests/test_ctk_root_discovery.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ 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+
# Native ARM64 uses bin/arm64 only.
85+
if windows_python_arch() == "arm64":
86+
lib_dir = ctk_root / "bin" / "arm64"
87+
else:
88+
lib_dir = ctk_root / "bin"
8589
lib_dir.mkdir(parents=True)
8690
lib_file = lib_dir / "cudart64_12.dll"
8791
else:

0 commit comments

Comments
 (0)