Skip to content

feat(nix-builder): add ARM64 target for CUDA backend on Windows - #760

Merged
danieldk merged 1 commit into
mainfrom
feat/windows-on-arm-backend-cuda
Aug 17, 2026
Merged

danieldk merged 1 commit into
mainfrom
feat/windows-on-arm-backend-cuda

Conversation

@mfuntowicz

Copy link
Copy Markdown
Member

Add a -TargetArch parameter to builder.ps1 (x64 | ARM64, defaults to host architecture) to build the CUDA backend for Windows on Arm:

  • Get-CMakeConfigureArgs passes the target arch as the Visual Studio generator platform (-A ARM64)

  • Initialize-VSEnvironment selects the matching vcvarsall.bat argument (arm64, x64_arm64, arm64_x64) to support cross-compilation

  • Informative messages for CUDA/ARM64 (requires CUDA 13.0+) and a warning for ARM64 with non-CUDA backends

  • LLM disclosure:

    • I did not use an LLM to create this PR.
    • I used and LLM for assistance while creating this PR.
    • This PR was mostly or completely generated by an LLM.

Add a -TargetArch parameter to builder.ps1 (x64 | ARM64, defaults to
host architecture) to build the CUDA backend for Windows on Arm:

- Get-CMakeConfigureArgs passes the target arch as the Visual Studio
  generator platform (-A ARM64)
- Initialize-VSEnvironment selects the matching vcvarsall.bat argument
  (arm64, x64_arm64, arm64_x64) to support cross-compilation
- Informative messages for CUDA/ARM64 (requires CUDA 13.0+) and a
  warning for ARM64 with non-CUDA backends

@danieldk danieldk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks a lot!

@danieldk
danieldk merged commit 47cfa39 into main Aug 17, 2026
50 of 51 checks passed

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants