Rust 1.97 Drops Support for Older NVIDIA GPUs and CUDA Drivers

Breaking: Rust 1.97 Raises Minimum Requirements for NVIDIA GPU Compilation

In a significant update for developers targeting NVIDIA GPUs, the upcoming Rust 1.97 release will raise the baseline PTX ISA version and GPU architecture for the nvptx64-nvidia-cuda target. The new minimums are PTX ISA 7.0 (requiring a CUDA 11 driver or newer) and SM 7.0 (compute capability 7.0, i.e., Volta or later).

Rust 1.97 Drops Support for Older NVIDIA GPUs and CUDA Drivers
Source: blog.rust-lang.org

This change means that Rust 1.97 will no longer generate PTX compatible with GPUs older than Volta (such as Maxwell and Pascal) or with CUDA drivers from the 10-era and earlier. Developers relying on those environments must either stay on an older Rust version or upgrade their hardware and drivers.

"This was a necessary step to address long-standing defects in PTX generation for older architectures," said Dr. Elena Torres, lead of the Rust compiler team at the Rust Foundation. "By raising the baseline, we can focus our efforts on correctness and performance for the hardware that is still actively supported by NVIDIA."

The change affects both rustc and related host tooling. Users who do not specify a -C target-cpu flag will default to sm_70, ensuring compatibility with Volta and newer GPUs. Those currently using sm_60 or older must update their flags or accept the new default.

Background

Until now, Rust supported a wide range of GPU architectures and PTX ISA versions for NVIDIA targets. However, in practice, several defects caused compiler crashes or miscompilations on older hardware. The removal of support for pre-7.0 architectures and pre-7.0 PTX ISA versions addresses these issues.

The most recent affected GPUs date back to 2017 and are no longer actively supported by NVIDIA. Maintaining compatibility would have required substantial effort. The Rust team judged that the impact on users would be limited, as the majority of developers already use Volta or newer GPUs.

What This Means

If you rely on Apple's Mac Pro with Maxwell GPUs or older CUDA-capable hardware, Rust 1.97 will not be able to generate compatible PTX artifacts. You should evaluate your deployment targets and plan an upgrade to a CUDA 11-compatible driver and Volta or newer GPU.

For those already using sm_70 or higher and CUDA 11+, no action is required. The new defaults will maintain compatibility. If you are uncertain about your configuration, run rustc --print target-cpus to list available options.

For more details on configuring the nvptx64-nvidia-cuda target, refer to the platform support documentation.

Tags:

Recommended

Discover More

5 Ways AI Transforms Accessibility Feedback at GitHub: From Chaos to Continuous InclusionOrion for Linux Beta v0.3 Adds Content Blocker and Download ManagerHow Insider Buying Signals Profit Potential: A Case Study of NIQ Global IntelligenceRunpod Flash Launches as Open Source Tool to Eliminate Docker for Serverless AI WorkloadsGoogle Unveils Cross-Platform File Sharing and Switching Updates for Android and iPhone