7.39. CUDA_MEMSET_NODE_PARAMS_v1 Struct Reference

[Data types used by CUDA driver]

Memset node parameters

Public Variables

CUdeviceptr dst
unsigned int  elementSize
size_t  height
size_t  pitch
unsigned int  value
size_t  width

Variables

CUdeviceptrCUDA_MEMSET_NODE_PARAMS_v1::dst [inherited]

Destination device pointer

unsigned int CUDA_MEMSET_NODE_PARAMS_v1::elementSize [inherited]

Size of each element in bytes. Must be 1, 2, or 4.

size_t CUDA_MEMSET_NODE_PARAMS_v1::height [inherited]

Number of rows

size_t CUDA_MEMSET_NODE_PARAMS_v1::pitch [inherited]

Pitch of destination device pointer. Unused if height is 1

unsigned int CUDA_MEMSET_NODE_PARAMS_v1::value [inherited]

Value to be set

size_t CUDA_MEMSET_NODE_PARAMS_v1::width [inherited]

Width of the row in elements