deviceQuery program - 多处理器的数量= 0

时间:2012-03-26 09:37:05

标签: cuda nvcc

我已经在CUDA SDK中执行了deviceQuery程序。多个处理器和核心的数量在文件中为0,我确信这不是真的。 原因是什么?

./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

There are 3 devices supporting CUDA

Device 0: "Tesla C2050"
CUDA Driver Version:                           4.10
CUDA Runtime Version:                          4.10
CUDA Capability Major revision number:         2
CUDA Capability Minor revision number:         0
Total amount of global memory:                 2817982464 bytes
Number of multiprocessors:                     0
Number of cores:                               0
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 65535
Maximum memory pitch:                          2147483647 bytes
Texture alignment:                             512 bytes
Clock rate:                                    1.15 GHz
Concurrent copy and execution:                 Yes
Run time limit on kernels:                     Yes
Integrated:                                    Yes
Support host page-locked memory mapping:       No
Compute mode:                                  Default 
(multiple host threads can   use    this device simultaneously)

2 个答案:

答案 0 :(得分:1)

确保:

  • 卸载所有旧的图形驱动程序并安装最新的NVIDIA显卡驱动程序。
  • 卸载所有旧的CUDA工具包并安装最新的CUDA工具包。

答案 1 :(得分:1)

确保将nvidia驱动程序更新为最新版本,然后重新启动。如果这不能解决问题,请运行以下命令并发布输出:

uname -a
nvidia-smi -q
lspci
echo $LD_LIBRARY_PATH
ldd /path/to/deviceQuery
ldconfig -p
devicequery (with all output, not just the card in question)