#[repr(C)]pub struct starpu_vector_interface {
pub id: starpu_data_interface_id,
pub ptr: usize,
pub dev_handle: usize,
pub offset: usize,
pub nx: u32,
pub elemsize: usize,
pub slice_base: u32,
pub allocsize: usize,
}Expand description
todo
Fields§
§id: starpu_data_interface_id< Identifier of the interface
ptr: usize< local pointer of the vector
dev_handle: usize< device handle of the vector.
offset: usize< offset in the vector
nx: u32< number of elements on the x-axis of the vector
elemsize: usize< size of the elements of the vector
slice_base: u32< vector slice base, used by the StarPU OpenMP runtime support
allocsize: usize< size actually currently allocated
Trait Implementations§
Source§impl Clone for starpu_vector_interface
impl Clone for starpu_vector_interface
Source§fn clone(&self) -> starpu_vector_interface
fn clone(&self) -> starpu_vector_interface
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 starpu_vector_interface
impl Debug for starpu_vector_interface
Source§impl Default for starpu_vector_interface
impl Default for starpu_vector_interface
impl Copy for starpu_vector_interface
Auto Trait Implementations§
impl Freeze for starpu_vector_interface
impl RefUnwindSafe for starpu_vector_interface
impl Send for starpu_vector_interface
impl Sync for starpu_vector_interface
impl Unpin for starpu_vector_interface
impl UnwindSafe for starpu_vector_interface
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