流式多处理器数量

流式多处理器数量

我如何知道我的 GTS 250 上有多少个流式多处理器 (SM)?

答案1

您可以下载 SDK 并运行 deviceQuery

CUDASDK_32/C/bin/linux/release/deviceQuery

Device 0: "Tesla S2050"
  CUDA Driver Version:                           3.10
  CUDA Runtime Version:                          3.10
  CUDA Capability Major/Minor version number:    2.0
  Total amount of global memory:                 2817982464 bytes

看看这一行:

 Multiprocessors x Cores/MP = Cores:  14 (MP) x 32 (Cores/MP) = 448 (Cores)

 Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 32768
  Warp size:                                     32
  Maximum number of threads per block:           1024
  Maximum sizes of each dimension of a block:    1024 x 1024 x 64
  Maximum sizes of each dimension of a grid:     65535 x 65535 x 1
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Clock rate:                                    1.15 GHz
  Concurrent copy and execution:                 Yes
  Run time limit on kernels:                     No
  Integrated:                                    No
  Support host page-locked memory mapping:       Yes
  Compute mode:                                  Default (multiple host threads can use this device simultaneously)
  Concurrent kernel execution:                   Yes
  Device has ECC support enabled:                Yes

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 3.10, CUDA Runtime Version = 3.10, NumDevs = 1, Device = Tesla S2050

答案2

GTS 250 有 16 个 SM,每个 SM 有 8 个核心,总​​共 128 个 CUDA 核心。 这个维基百科页面包含所有 GeForce 设备的核心数。对于 GT200 系列处理器,将核心数除以 8 即可得出 SM 数。

答案3

这是一个 12 年前的帖子,然而最近我在寻找sm_GPU 时也遇到了类似的困惑。

为了将来参考,我发现如果您运行__nvcc_device_query.exe(对于 Windows),在 CUDA 安装目录下的 Linux 下也应该有类似的运行,并且在bin文件夹中,您将获得数字。

相关内容