流式多处理器架构Streaming Multiprocessor Architecture
流式多处理器 (SM) 采用特定"架构"进行版本管理,该架构定义了它们与 流式汇编器 (SASS) 代码的兼容性。
采用"Hopper" SM90 架构的流式多处理器。修改自 NVIDIA 的 H100 白皮书。
具有原始"Tesla" SM 架构的流式多处理器。修改自 Fabien Sanglard 的博客。
大多数 SM 版本包含两个组成部分:主版本号和次版本号。
主版本 _几乎_ 等同于 GPU 架构系列。例如,所有 6.x 版本的 SM 都属于 Pascal 架构。 一些 NVIDIA 文档甚至 直接声称这一点。 但举例来说,Ada GPU 的SM 架构版本为 8.9,与 Ampere GPU 的主版本相同。
在调用 NVIDIA CUDA 编译器驱动程序 (nvcc) 时,可以指定 SASS 编译的目标 SM 版本。主版本号之间的兼容性无法保证性。有关跨次版本兼容性的更多信息,请参阅nvcc 的文档。
英文原文(Modal GPU Glossary)
Streaming Multiprocessors (SMs) are versioned with a particular "architecture" that defines their compatibility with Streaming Assembler (SASS) code.
.](themed-image://gh100-sm.svg)
](themed-image://tesla-sm.svg)
Most SM versions have two components: a major version and a minor version.
The major version is _almost_ synonymous with GPU architecture family. For example, all SM versions 6.x are of the Pascal Architecture. Some NVIDIA documentation even makes this claim directly. But, as an example, Ada GPUs have SM architecture version 8.9, the same major version as Ampere GPUs.
Target SM versions for SASS compilation can be specified when invoking nvcc, the NVIDIA CUDA Compiler Driver. Compatibility across major versions is explicitly not guaranteed. For more on compatibility across minor versions, see the documentation for nvcc.
相关词条
本词条改编自 Modal GPU Glossary(CC BY 4.0)· 中文翻译 miter6/gpu-glossary-zh,MAE 整理排版。