7.41. CUDA_RESOURCE_VIEW_DESC_v1 Struct Reference

[Data types used by CUDA driver]

Resource view descriptor

Public Variables

size_t  depth
unsigned int  firstLayer
unsigned int  firstMipmapLevel
CUresourceViewFormat format
size_t  height
unsigned int  lastLayer
unsigned int  lastMipmapLevel
size_t  width

Variables

size_t CUDA_RESOURCE_VIEW_DESC_v1::depth [inherited]

Depth of the resource view

unsigned int CUDA_RESOURCE_VIEW_DESC_v1::firstLayer [inherited]

First layer index

unsigned int CUDA_RESOURCE_VIEW_DESC_v1::firstMipmapLevel [inherited]

First defined mipmap level

CUresourceViewFormatCUDA_RESOURCE_VIEW_DESC_v1::format [inherited]

Resource view format

size_t CUDA_RESOURCE_VIEW_DESC_v1::height [inherited]

Height of the resource view

unsigned int CUDA_RESOURCE_VIEW_DESC_v1::lastLayer [inherited]

Last layer index

unsigned int CUDA_RESOURCE_VIEW_DESC_v1::lastMipmapLevel [inherited]

Last defined mipmap level

size_t CUDA_RESOURCE_VIEW_DESC_v1::width [inherited]

Width of the resource view