通过CUDA deviceQuery分析NVIDIA显卡性能

本文通过分析CUDA的deviceQuery工具,详细探讨如何利用该工具评估和理解NVIDIA显卡的性能特性,包括计算能力、内存配置等关键指标。
摘要由CSDN通过智能技术生成

参考:
http://blog.sina.com.cn/s/blog_471e6c930102wlp5.html
在这里插入图片描述

序号

名称

解释

1

Detected 1 CUDA Capable device(s)

1

检测到1个可用的NVIDIA显卡设备

2

Device 0: "GeForce 930M"

GeForce 930M

当前显卡型号为" GeForce 930M "

3

CUDA Driver Version / Runtime Version

7.5/7.5

CUDA驱动版本

4

CUDA Capability Major/Minor version number

 

5.0

CUDA设备支持的计算架构版本,即计算能力,该值越大越好

5

Total amount of global memory

4096Mbytes

Global memory全局存储器的大小。使用CUDA RUNTIME API调用函数cudaMalloc后,会消耗GPU设备上的存储空间,合理分配和释放空间避免程序出现crash

6

(3) Multiprocessors, (128) CUDA Cores/MP

384 CUDA Cores

3个流多处理器(即SM),每个多处理器中包含128个流处理器,共384个CUDA核

7

GPU Max Clock rate

941 MHz

GPU最大频率

8

Memory Clock rate

900 MHz

显存的频率

9

Memory Bus Width

64-bit

 

10

L2 Cache Size

1048576 bytes

 

11

Maximum Texture Dimension Size (x, y, z)

1D=(65535)

2D=(65535, 65535)

3D=(4096,4096,4096)

 

12

Maximum Layered 1D Texture Size, (num) layers

1D=(16384),2048 layers

 

13

Maximum Layered 2D Texture Size, (num) layers

2D=(16384,16384), 2048 layers

 

14

Total amount of constant memory

65535 bytes

常量存储器的大小

15

Total amount of shared memory per block

49152 bytes

共享存储器的大小,共享存储器速度比全局存储器快;多处理器上的所有线程块可以同时共享这些存储器

16

Total number of registers available per block

65535

 

17

Warp Size

32

Warp,线程束,是SM运行的最基本单位,一个线程束含有32个线程

18

Maximum number of threads per multiprocessor

2048

一个SM中最多有2048个线程,即一个SM中可以有2048/32=64个线程束Warp

19

Maximum number of threads per block

1024

一个线程块最多可用的线程数目

20

Max dimension size of a thread block (x, y, z)

(1024,1024,64)

ThreadIdx.x<=1024,

ThreadIdx.y<=1024,

ThreadIdx.z<=64

Block内三维中各维度的最大值

21

Max dimension size of a grid size (x, y, z)

(2147483647,65535,65535)

Grid内三维中各维度的最大值

22

Maximum memory Pitch

2147483647 bytes

显存访问时对齐时的pitch的最大值

23

Texture alignment

512 bytes

纹理单元访问时对其参数的最大值

24

Concurrent copy and kernel execution

Yes with 1 copy engine(s)

 

25

Run time limit on kernels

Yes

 

26

Integrated GPU sharing Host Memory

No

 

27

Support host page-locked memory mapping

Yes

 

28

Alignment requirement for Surfaces

Yes

 

29

Device has ECC support

Disabled

 

30

其他

 

 

  • 5
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
deviceQuery.exe Starting... CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "GeForce GTX 650" CUDA Driver Version / Runtime Version 9.1 / 8.0 CUDA Capability Major/Minor version number: 3.0 Total amount of global memory: 2048 MBytes (2147483648 bytes) ( 2) Multiprocessors, (192) CUDA Cores/MP: 384 CUDA Cores GPU Max Clock rate: 1072 MHz (1.07 GHz) Memory Clock rate: 2500 Mhz Memory Bus Width: 128-bit L2 Cache Size: 262144 bytes Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096) Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 2048 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 1 copy engine(s) Run time limit on kernels: Yes Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model) Device supports Unified Addressing (UVA): Yes Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0 Compute Mode: deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime Version = 8.0, NumDevs = 1, Device0 = GeForce GTX 650 Result = PASS
cuda检测工具 devicequery.zip(不含源代码,源代码在cuda sdk 8.0里) deviceQuery.exe Starting... CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "GeForce GTX 760" CUDA Driver Version / Runtime Version 9.2 / 8.0 CUDA Capability Major/Minor version number: 3.0 Total amount of global memory: 2048 MBytes (2147483648 bytes) ( 6) Multiprocessors, (192) CUDA Cores/MP: 1152 CUDA Cores GPU Max Clock rate: 1137 MHz (1.14 GHz) Memory Clock rate: 3004 Mhz Memory Bus Width: 256-bit L2 Cache Size: 524288 bytes Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096) Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 2048 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 1 copy engine(s) Run time limit on kernels: Yes Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model)
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值