7.59. cudaResourceDesc Struct Reference

[Data types used by CUDA Runtime]

CUDA resource descriptor

Public Variables

cudaArray_t array
struct cudaChannelFormatDesc desc
void * devPtr
size_t  height
cudaMipmappedArray_t mipmap
size_t  pitchInBytes
enumcudaResourceType resType
size_t  sizeInBytes
size_t  width

Variables

cudaArray_tcudaResourceDesc::array [inherited]

CUDA array

struct cudaChannelFormatDesccudaResourceDesc::desc [inherited]

Channel descriptor

void * cudaResourceDesc::devPtr [inherited]

Device pointer

size_t cudaResourceDesc::height [inherited]

Height of the array in elements

cudaMipmappedArray_tcudaResourceDesc::mipmap [inherited]

CUDA mipmapped array

size_t cudaResourceDesc::pitchInBytes [inherited]

Pitch between two rows in bytes

enumcudaResourceTypecudaResourceDesc::resType [inherited]

Resource type

size_t cudaResourceDesc::sizeInBytes [inherited]

Size in bytes

size_t cudaResourceDesc::width [inherited]

Width of the array in elements