7.17. cudaExternalMemoryMipmappedArrayDesc 结构体参考

[CUDA运行时使用的数据类型]

外部内存mipmap描述符

公共变量

struct cudaExtent extent
unsigned int  flags
struct cudaChannelFormatDesc formatDesc
unsigned int  numLevels
unsigned long long  offset

变量

struct cudaExtentcudaExternalMemoryMipmappedArrayDesc::extent [inherited]

mipmap链基础层的尺寸

unsigned int cudaExternalMemoryMipmappedArrayDesc::flags [inherited]

与CUDA mipmapped数组相关的标志。参见cudaMallocMipmappedArray

struct cudaChannelFormatDesccudaExternalMemoryMipmappedArrayDesc::formatDesc [inherited]

mipmap链的基础层级格式

unsigned int cudaExternalMemoryMipmappedArrayDesc::numLevels [inherited]

mipmap链中的总层级数

unsigned long long cudaExternalMemoryMipmappedArrayDesc::offset [inherited]

指向内存对象的偏移量,其中包含mipmap链的基础层级。