7.42. CUDA_RESOURCE_DESC_v1 Struct Reference

[Data types used by CUDA driver]

CUDA Resource descriptor

Public Variables

CUdeviceptr devPtr
unsigned int  flags
CUarray_format format
CUarray hArray
CUmipmappedArray hMipmappedArray
size_t  height
unsigned int  numChannels
size_t  pitchInBytes
CUresourcetype resType
size_t  sizeInBytes
size_t  width

Variables

CUdeviceptrCUDA_RESOURCE_DESC_v1::devPtr [inherited]

Device pointer

unsigned int CUDA_RESOURCE_DESC_v1::flags [inherited]

Flags (must be zero)

CUarray_formatCUDA_RESOURCE_DESC_v1::format [inherited]

Array format

CUarrayCUDA_RESOURCE_DESC_v1::hArray [inherited]

CUDA array

CUmipmappedArrayCUDA_RESOURCE_DESC_v1::hMipmappedArray [inherited]

CUDA mipmapped array

size_t CUDA_RESOURCE_DESC_v1::height [inherited]

Height of the array in elements

unsigned int CUDA_RESOURCE_DESC_v1::numChannels [inherited]

Channels per array element

size_t CUDA_RESOURCE_DESC_v1::pitchInBytes [inherited]

Pitch between two rows in bytes

CUresourcetypeCUDA_RESOURCE_DESC_v1::resType [inherited]

Resource type

size_t CUDA_RESOURCE_DESC_v1::sizeInBytes [inherited]

Size in bytes

size_t CUDA_RESOURCE_DESC_v1::width [inherited]

Width of the array in elements