#[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§
Source§impl Clone for cudaMemsetParams
impl Clone for cudaMemsetParams
Source§fn clone(&self) -> cudaMemsetParams
fn clone(&self) -> cudaMemsetParams
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 cudaMemsetParams
impl Debug for cudaMemsetParams
impl Copy for cudaMemsetParams
Auto Trait Implementations§
impl Freeze for cudaMemsetParams
impl RefUnwindSafe for cudaMemsetParams
impl !Send for cudaMemsetParams
impl !Sync for cudaMemsetParams
impl Unpin for cudaMemsetParams
impl UnwindSafe for cudaMemsetParams
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