Type Alias CUDA_MEMSET_NODE_PARAMS

Source
pub type CUDA_MEMSET_NODE_PARAMS = CUDA_MEMSET_NODE_PARAMS_v1;
Expand description

Memset node parameters

Aliased Type§

#[repr(C)]
pub struct CUDA_MEMSET_NODE_PARAMS { pub dst: u64, pub pitch: usize, pub value: u32, pub elementSize: u32, pub width: usize, pub height: usize, }

Fields§

§dst: u64

< Destination device pointer

§pitch: usize

< Pitch of destination device pointer. Unused if height is 1

§value: u32

< Value to be set

§elementSize: u32

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

§width: usize

< Width of the row in elements

§height: usize

< Number of rows