【发布时间】:2017-10-09 10:01:50
【问题描述】:
在我的 GPU 上,使用 Compute Capability 2.0,每个多处理器的最大线程数是 1536。为什么不是 2 的幂?
以下是我的 GPU 的一些详细信息:
Physical Limits for GPU Compute Capability: 2.0
Threads per Warp 32
Max Warps per Multiprocessor 48
Max Thread Blocks per Multiprocessor 8
Max Threads per Multiprocessor 1536
Maximum Thread Block Size 1024
Registers per Multiprocessor 32768
Max Registers per Thread Block 32768
Max Registers per Thread 63
Shared Memory per Multiprocessor (bytes) 16384
Max Shared Memory per Block 16384
Register allocation unit size 64
Register allocation granularity warp
Shared Memory allocation unit size 128
Warp allocation granularity 2
【问题讨论】:
-
devnglee 已经做到了。顺便说一句,2.x 是费米而不是麦克斯韦……
-
我不明白你从哪里得到的 256....
-
这对我来说似乎也有些武断。他可能只是想说这不是 2 的幂。
-
@Shadow :是的,我的意思正是你提到的。