NVIDIA GPU Compilation Target Gets Major Baseline Upgrade: PTX ISA 7.0 and SM 7.0 Now Required

Rust 1.97, scheduled for release on July 9, 2026, will implement a significant baseline upgrade for the nvptx64-nvidia-cuda compilation target. The new minimum requirements are PTX ISA version 7.0 (requires CUDA 11 driver or newer) and GPU architecture SM 7.0 (compute capability 7.0 and above).

This change affects both the Rust compiler (rustc) and related host tooling, making it impossible to generate PTX artifacts compatible with older GPUs and CUDA drivers.

Background

Until now, Rust supported emitting PTX for a wide range of GPU architectures and PTX ISA versions, but several defects caused valid Rust code to trigger compiler crashes or miscompilations. Raising the baseline addresses these issues and enables more complete support for the remaining supported hardware.

NVIDIA GPU Compilation Target Gets Major Baseline Upgrade: PTX ISA 7.0 and SM 7.0 Now Required
Source: blog.rust-lang.org

"Maintaining support for these legacy architectures would require substantial effort," said a Rust compiler team member. "These removals let us focus development efforts on improving correctness and performance for currently supported hardware."

The most recent affected GPU architectures date back to 2017 and are no longer actively supported by NVIDIA, so the overall impact is expected to be limited.

What This Means

If you need to target a CUDA driver that does not support PTX ISA 7.0 (CUDA 10-era and older), Rust 1.97 will no longer be able to generate compatible PTX. Similarly, if you need to run on GPUs with compute capability below 7.0 (e.g., Maxwell or Pascal), compatible PTX generation will no longer be possible.

For users with CUDA 11+ drivers and Volta or newer GPUs:

  • If you do not specify -C target-cpu, the new default will be sm_70, and your build will continue to work (but will no longer be compatible with pre-Volta GPUs).
  • If you currently specify an older -C target-cpu (e.g., sm_60), you must either remove the flag or update it to sm_70 or newer.
  • If you already specify -C target-cpu=sm_70 or newer, there should be no behavioral changes.

"We strongly advise upgrading GPU hardware and CUDA drivers to ensure compatibility," added a project representative. The Rust project provides detailed documentation on building and configuring the nvptx64-nvidia-cuda target.

For more information, see the platform support documentation.

Tags:

Recommended

Discover More

Kazakhstan Doubles Down on Coursera Partnership to Bring For-Credit AI and Digital Skills to 235,000+ StudentsMother of ‘Mila’s Miracle’ Patient Launches New Biotech to Scale Bespoke Gene TherapiesBreaking: mssql-python Now Supports Both Parameter Styles – Python Devs Can Finally End the SQL Placeholder DebateEnduring Finance: How to Build Products Customers Actually Stick WithMaster Your Large Phone: The Ultimate Guide to Android's One-Handed Mode