Oa5678 Stack
ArticlesCategories
Hardware

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

Published 2026-05-18 08:23:28 · Hardware

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.