7.49. CUdevprop_v1 结构体参考

[CUDA驱动使用的数据类型]

旧版设备属性

公共变量

int  SIMDWidth
int  clockRate
int  maxGridSize[3]
int  maxThreadsDim[3]
int  maxThreadsPerBlock
int  memPitch
int  regsPerBlock
int  sharedMemPerBlock
int  textureAlign
int  totalConstantMemory

变量

int CUdevprop_v1::SIMDWidth [inherited]

线程束大小(以线程数为单位)

int CUdevprop_v1::clockRate [inherited]

时钟频率(单位:千赫兹)

int CUdevprop_v1::maxGridSize[3] [inherited]

网格每个维度的最大尺寸

int CUdevprop_v1::maxThreadsDim[3] [inherited]

每个块维度的最大尺寸

int CUdevprop_v1::maxThreadsPerBlock [inherited]

每个块的最大线程数

int CUdevprop_v1::memPitch [inherited]

内存拷贝允许的最大间距(以字节为单位)

int CUdevprop_v1::regsPerBlock [inherited]

每个块可用的32位寄存器数量

int CUdevprop_v1::sharedMemPerBlock [inherited]

每个块可用的共享内存大小(以字节为单位)

int CUdevprop_v1::textureAlign [inherited]

纹理的对齐要求

int CUdevprop_v1::totalConstantMemory [inherited]

设备上可用的常量内存大小(以字节为单位)