7.52. cudaMemsetParams 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 * cudaMemsetParams::dst [inherited]

Destination device pointer

unsigned int cudaMemsetParams::elementSize [inherited]

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

size_t cudaMemsetParams::height [inherited]

Number of rows

size_t cudaMemsetParams::pitch [inherited]

Pitch of destination device pointer. Unused if height is 1

unsigned int cudaMemsetParams::value [inherited]

Value to be set

size_t cudaMemsetParams::width [inherited]

Width of the row in elements