Draft
Conversation
…A 13.2 Made-with: Cursor
Made-with: Cursor
This was referenced Mar 26, 2026
Contributor
Author
|
@LegNeato Please hold off on this PR for now — Jimver/cuda-toolkit does not yet support CUDA 13.2.0 (Error: Version not available: 13.2.0), so the Windows CI matrix entry can't run, see CI output on my fork. I'll revisit once the action adds 13.2 support. |
Contributor
|
We have docker images for cuda 13 in https://github.com/Rust-GPU/rust-cuda/tree/e91b9cefc78258000f92d0978f327c907c515831/container for CI. They currently check 13.0...should we add 13.2? The matrix is starting to get big 🤔 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
idfield ofCUmemLocation_stwas placed inside an anonymous union. Bindgen exposes this as__bindgen_anon_1: CUmemLocation_st__bindgen_ty_1instead of a directidfield on the struct.2623e21, "Fix CUDA 13 API issues") setiddirectly, which compiled on CUDA 13.0 but fails on 13.2.cuMemLocation_anon_idcfg inbuild.rs(gated ondriver_version >= 13020) and uses field-level#[cfg]at all 5CUmemLocationconstruction sites so both CUDA 13.0 and 13.2 compile correctly.Test plan
cargo build -p custpasses on CUDA 13.2 (Windows, RTX 3060, driver 595.79)cargo build -p custstill passes on CUDA 13.0 (Windows, Linux CI)Attribution
This bugfix was implemented with the help of Claude Sonnet 4.6 and Cursor IDE