7.2. CUarrayMapInfo_v1 结构体参考
[CUDA驱动使用的数据类型]
指定CUDA数组或CUDA多级映射数组的内存映射信息
公共变量
- unsigned int deviceBitMask
- unsigned int extentDepth
- unsigned int extentHeight
- unsigned int extentWidth
- unsigned int flags
- unsigned int layer
- unsigned int 级别
- CUmemHandleType memHandleType
- CUmemOperationType memOperationType
- unsigned long long offset
- unsigned int offsetX
- unsigned int offsetY
- unsigned int offsetZ
- unsigned int reserved[2]
- CUresourcetype resourceType
- unsigned long long 大小
- CUarraySparseSubresourceType subresourceType
变量
- unsigned int CUarrayMapInfo_v1::deviceBitMask [inherited]
-
设备序号位掩码
- unsigned int CUarrayMapInfo_v1::extentDepth [inherited]
-
元素深度
- unsigned int CUarrayMapInfo_v1::extentHeight [inherited]
-
元素高度
- unsigned int CUarrayMapInfo_v1::extentWidth [inherited]
-
元素宽度
- unsigned int CUarrayMapInfo_v1::flags [inherited]
-
供未来使用的标志位,当前必须为零。
- unsigned int CUarrayMapInfo_v1::layer [inherited]
-
对于CUDA分层数组,必须是一个有效的层索引。否则,必须为零
- unsigned int CUarrayMapInfo_v1::级别 [inherited]
-
对于CUDA,mipmapped数组必须有一个有效的mipmap级别。对于CUDA数组必须为零
- CUmemHandleTypeCUarrayMapInfo_v1::memHandleType [inherited]
-
内存句柄类型
- CUmemOperationTypeCUarrayMapInfo_v1::memOperationType [inherited]
-
内存操作类型
- unsigned long long CUarrayMapInfo_v1::offset [inherited]
-
在mip尾部的偏移量
内存中的偏移量
- unsigned int CUarrayMapInfo_v1::offsetX [inherited]
-
元素中的起始X偏移量
- unsigned int CUarrayMapInfo_v1::offsetY [inherited]
-
元素中的起始Y偏移量
- unsigned int CUarrayMapInfo_v1::offsetZ [inherited]
-
元素的起始Z偏移量
- unsigned int CUarrayMapInfo_v1::reserved[2] [inherited]
-
保留供未来使用,当前必须为零。
- CUresourcetypeCUarrayMapInfo_v1::resourceType [inherited]
-
资源类型
- unsigned long long CUarrayMapInfo_v1::大小 [inherited]
-
以字节为单位的范围
- CUarraySparseSubresourceTypeCUarrayMapInfo_v1::subresourceType [inherited]
-
稀疏子资源类型