7.53. cudaMemsetParamsV2 Struct Reference

[Data types used by CUDA Runtime]

CUDA Memset node parameters

Public Variables

void * dst
unsigned int  elementSize
size_t  height
size_t  pitch
unsigned int  value
size_t  width

Variables

void * cudaMemsetParamsV2::dst [inherited]

Destination device pointer

unsigned int cudaMemsetParamsV2::elementSize [inherited]

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

size_t cudaMemsetParamsV2::height [inherited]

Number of rows

size_t cudaMemsetParamsV2::pitch [inherited]

Pitch of destination device pointer. Unused if height is 1

unsigned int cudaMemsetParamsV2::value [inherited]

Value to be set

size_t cudaMemsetParamsV2::width [inherited]

Width of the row in elements