Struct rcublas_sys::cudaMemsetParams [−][src]
#[repr(C)]pub struct cudaMemsetParams {
pub dst: *mut c_void,
pub pitch: usize,
pub value: c_uint,
pub elementSize: c_uint,
pub width: usize,
pub height: usize,
}
Expand description
CUDA Memset node parameters
Fields
dst: *mut c_void
< Destination device pointer
pitch: usize
< Pitch of destination device pointer. Unused if height is 1
value: c_uint
< Value to be set
elementSize: c_uint
< 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
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaMemsetParams
impl !Send for cudaMemsetParams
impl !Sync for cudaMemsetParams
impl Unpin for cudaMemsetParams
impl UnwindSafe for cudaMemsetParams
Blanket Implementations
Mutably borrows from an owned value. Read more