#[repr(C)]pub struct CUDA_MEMSET_NODE_PARAMS_st {
pub dst: CUdeviceptr,
pub pitch: usize,
pub value: c_uint,
pub elementSize: c_uint,
pub width: usize,
pub height: usize,
}
Expand description
Memset node parameters
Fields§
§dst: CUdeviceptr
< 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§
Source§impl Clone for CUDA_MEMSET_NODE_PARAMS_st
impl Clone for CUDA_MEMSET_NODE_PARAMS_st
Source§fn clone(&self) -> CUDA_MEMSET_NODE_PARAMS_st
fn clone(&self) -> CUDA_MEMSET_NODE_PARAMS_st
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CUDA_MEMSET_NODE_PARAMS_st
impl Debug for CUDA_MEMSET_NODE_PARAMS_st
impl Copy for CUDA_MEMSET_NODE_PARAMS_st
Auto Trait Implementations§
impl Freeze for CUDA_MEMSET_NODE_PARAMS_st
impl RefUnwindSafe for CUDA_MEMSET_NODE_PARAMS_st
impl Send for CUDA_MEMSET_NODE_PARAMS_st
impl Sync for CUDA_MEMSET_NODE_PARAMS_st
impl Unpin for CUDA_MEMSET_NODE_PARAMS_st
impl UnwindSafe for CUDA_MEMSET_NODE_PARAMS_st
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more