Skip to content

Fix CUDA Runtime CTK test fixture on Windows ARM64 - #2534

Closed
isVoid wants to merge 2 commits into
NVIDIA:mainfrom
isVoid:agent/fix-cudart-ctk-test
Closed

Fix CUDA Runtime CTK test fixture on Windows ARM64#2534
isVoid wants to merge 2 commits into
NVIDIA:mainfrom
isVoid:agent/fix-cudart-ctk-test

Conversation

@isVoid

@isVoid isVoid commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What changed

Update the Windows CUDA Runtime CTK test fixture to model the current CUDA 13 layout explicitly:

  • x64 creates bin/x64/cudart64_13.dll;
  • Arm64 creates bin/arm64/cudart64_13.dll;
  • Linux behavior is unchanged.

Why

#2393 made Windows CTK dynamic-library searches architecture-aware. Native Arm64 Python now correctly searches bin/arm64, but _create_cudart_in_ctk still created cudart64_12.dll in the legacy unqualified bin directory. As a result, test_try_via_ctk_root_regular_lib failed only under native Windows Arm64.

The fixture now targets the latest CUDA layout for both Windows architectures. Production discovery continues to retain its legacy unqualified bin fallback for older x64 toolkits.

Validation

  • Native Windows Arm64 focused regression: 1 passed.
  • tests/test_ctk_root_discovery.py: 37 passed.

@copy-pr-bot

copy-pr-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@isVoid isVoid added cuda.pathfinder Everything related to the cuda.pathfinder module enhancement Any code-related improvements labels Aug 7, 2026 — with ChatGPT Codex Connector
@isVoid isVoid added this to the cuda.pathfinder next milestone Aug 7, 2026 — with ChatGPT Codex Connector
@isVoid

isVoid commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 2b21582

@isVoid
isVoid marked this pull request as ready for review August 7, 2026 22:56
@isVoid

isVoid commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 462c571

@isVoid

isVoid commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Ah, closing in favor of duplicate PR: #2528

@isVoid isVoid closed this Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

github-actions Bot pushed a commit that referenced this pull request Aug 8, 2026
Removed preview folders for the following PRs:
- PR #2455
- PR #2487
- PR #2495
- PR #2503
- PR #2518
- PR #2534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.pathfinder Everything related to the cuda.pathfinder module enhancement Any code-related improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant