7.17. cudaExternalMemoryMipmappedArrayDesc 结构体参考

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

外部内存 mipmap 描述符

公共变量

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

变量

struct cudaExtentcudaExternalMemoryMipmappedArrayDesc::extent [继承]

mipmap 链基本级别的维度

unsigned int cudaExternalMemoryMipmappedArrayDesc::flags [继承]

与 CUDA mipmap 数组关联的标志。请参阅 cudaMallocMipmappedArray

struct cudaChannelFormatDesccudaExternalMemoryMipmappedArrayDesc::formatDesc [继承]

mipmap 链基本级别的格式

unsigned int cudaExternalMemoryMipmappedArrayDesc::numLevels [继承]

mipmap 链中级别的总数

unsigned long long cudaExternalMemoryMipmappedArrayDesc::offset [继承]

mipmap 链基本级别所在内存对象中的偏移量。