Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
GeForce G210M上的Cuda支持_Cuda - Fatal编程技术网

GeForce G210M上的Cuda支持

GeForce G210M上的Cuda支持,cuda,Cuda,我正试图用GeForce G210M在我的笔记本电脑上设置Cuda,但我不确定编译时应该使用哪种体系结构 nvcc-arch= 以下是我的DeviceQuery输出: ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "GeForce G210M" CUDA Driver V

我正试图用GeForce G210M在我的笔记本电脑上设置Cuda,但我不确定编译时应该使用哪种体系结构 nvcc-arch=

以下是我的DeviceQuery输出:

./deviceQuery Starting...

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

Detected 1 CUDA Capable device(s)

Device 0: "GeForce G210M"
CUDA Driver Version / Runtime Version          6.0 / 5.5
CUDA Capability Major/Minor version number:    1.2
Total amount of global memory:                 511 MBytes (536150016 bytes)
( 2) Multiprocessors, (  8) CUDA Cores/MP:     16 CUDA Cores
GPU Clock rate:                                1468 MHz (1.47 GHz)
Memory Clock rate:                             500 Mhz
Memory Bus Width:                              64-bit
Maximum Texture Dimension Size (x,y,z)         1D=(8192), 2D=(65536, 32768), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers  1D=(8192), 512 layers
Maximum Layered 2D Texture Size, (num) layers  2D=(8192, 8192), 512 layers
Total amount of constant memory:               65536 bytes
Total amount of shared memory per block:       16384 bytes
Total number of registers available per block: 16384
Warp size:                                     32
Maximum number of threads per multiprocessor:  1024
Maximum number of threads per block:           512
Max dimension size of a thread block (x,y,z): (512, 512, 64)
Max dimension size of a grid size    (x,y,z): (65535, 65535, 1)
Maximum memory pitch:                          2147483647 bytes
Texture alignment:                             256 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
Device supports Unified Addressing (UVA):      No
Device PCI Bus ID / PCI location ID:           1 / 0
Compute Mode:
 < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.0, CUDA    Runtime Version = 5.5, NumDevs = 1, Device0 = GeForce G210M
Result = PASS
/deviceQuery正在启动。。。
CUDA设备查询(运行时API)版本(CUDART静态链接)
检测到1个支持CUDA的设备
设备0:“GeForce G210M”
CUDA驱动程序版本/运行时版本6.0/5.5
CUDA能力主要/次要版本号:1.2
全局内存总量:511 MB(536150016字节)
(2)多处理器,(8)CUDA核/MP:16个CUDA核
GPU时钟频率:1468 MHz(1.47 GHz)
内存时钟频率:500 Mhz
内存总线宽度:64位
最大纹理尺寸大小(x,y,z)1D=(8192),2D=(6553632768),3D=(20482048)
最大分层1D纹理大小,(num)层1D=(8192),512层
最大分层2D纹理大小,(num)层2D=(81928192),512层
恒定内存总量:65536字节
每个块的共享内存总量:16384字节
每个块可用的寄存器总数:16384
经纱尺寸:32
每个多处理器的最大线程数:1024
每个块的最大线程数:512
螺纹块的最大尺寸(x、y、z):(512、512、64)
栅格尺寸的最大尺寸(x、y、z):(65535、65535、1)
最大内存间距:2147483647字节
纹理对齐:256字节
并发复制和内核执行:是,使用1个复制引擎
内核的运行时间限制:是
集成GPU共享主机内存:否
支持主机页锁定内存映射:是
表面对齐要求:是
设备具有ECC支持:已禁用
设备支持统一寻址(UVA):否
设备PCI总线ID/PCI位置ID:1/0
计算模式:

deviceQuery,CUDA驱动程序=CUDART,CUDA驱动程序版本=6.0,CUDA运行时版本=5.5,NumDevs=1,Device0=GeForce G210M
结果=通过

您要查找的线路是具有
计算功能的线路

CUDA能力主要/次要版本号:1.2

因此,您应该在编译期间使用标志
-arch=sm_12

nvcc -arch=sm_12

CUDA能力版本号是计算能力版本