【发布时间】:2021-05-14 15:49:46
【问题描述】:
“合作组”机制出现在最新版本的 CUDA 中。其中一些涉及实际的硬件功能,这些功能不太明显(?)以其他方式使用;但其中很多基本上只是库代码;并且很难辨别硬件实际上在哪些地方提供了一些特殊功能。
这个问题是关于具有 Compute Capability 7.x 的 GPU。在 CUDA 编程指南中,我注意到以下特性依赖于计算能力:
| Cooperative group feature | Required minimum Compute Capability |
|---|---|
labeled_partition() |
7.0 |
binary_partition() |
7.0 |
async_memcpy() actually being asynchronous |
8.0 |
Some kind of asynchronicity of wait()
|
8.0 |
"acceleration" of reduce()
|
8.0 |
| use of intrinsics in reductions for: plus, less, greater, bitwise and, bitwise or, bitwise_xor | 8.0 |
CC 7.0 和 CC 8.0 引入了哪些具体的硬件功能来启用此功能?它们的确切语义是什么?它们都是通过 PTX 显式公开的,还是其中一些仅在 SASS 中可见?
【问题讨论】:
标签: cuda gpu nvidia intrinsics