TL;DR
Rust has faced issues with compiler crashes and miscompilations when targeting older NVIDIA GPUs. In Rust 1.97, the baseline for the `nvptx64-nvidia-cuda` target will be raised, focusing on newer GPU architectures.
✦ Why It Matters
Engineers can focus on optimizing their applications for newer NVIDIA GPUs without worrying about legacy support issues.
Key Takeaways
Full Summary
The `nvptx64-nvidia-cuda` target in Rust is used for compiling code to run on NVIDIA GPUs, producing PTX (Parallel Thread Execution) output. With the upcoming Rust 1.97 release, the minimum required PTX ISA version will be increased to 7.0, necessitating a CUDA driver version of 11 or newer, and only supporting GPUs with compute capability 7.0 or higher.
This change aims to address existing compiler defects and improve performance and correctness for currently supported hardware. Users with older GPUs or CUDA drivers will find that Rust 1.97 cannot generate compatible PTX artifacts.
If targeting newer architectures, the default will shift to sm_70 unless specified otherwise. This update reflects a strategic focus on modern hardware, as older architectures have not been actively supported by NVIDIA since 2017.