« All posts

Rust 1.97, nvptx64-nvidia-cuda hedefinde taban seviyeyi yükseltiyor

Rust 1.97, nvptx64-nvidia-cuda derleme hedefi için minimum PTX ISA 7.0 ve SM 7.0 gereksinimini getiriyor; eski GPU ve CUDA sürücü desteği kaldırılıyor.

Starting with Rust 1.97, the nvptx64-nvidia-cuda compilation target for NVIDIA GPUs is raising its minimum requirements. The new baseline will be PTX ISA 7.0 (requiring a CUDA 11 or newer driver) and SM 7.0 architecture; GPUs with compute capability below 7.0 (such as Maxwell or Pascal) and CUDA 10-era drivers will no longer be supported. The change affects both the rustc compiler and related host tooling.

The motivation is that supporting older architectures and ISA versions had caused defects leading to compiler crashes and miscompilations in rustc. Since the most recent affected GPU architectures date back to 2017 and are no longer actively supported by NVIDIA, the real-world impact is expected to be limited. The team aims to redirect development effort toward correctness and performance improvements for currently supported hardware.

For developers already using CUDA 11+ drivers and SM 7.0+ GPUs, the practical impact is minimal: if -C target-cpu is unspecified, the new default sm_70 will keep builds working. Those specifying an older target like sm_60 will need to either remove the flag or update it to sm_70 or newer. Anyone already targeting sm_70 or above will see no behavioral change.