#[repr(C)]pub struct starpu_ndim_interface {
pub id: starpu_data_interface_id,
pub ptr: usize,
pub dev_handle: usize,
pub offset: usize,
pub allocsize: usize,
pub nn: *mut u32,
pub ldn: *mut u32,
pub ndim: usize,
pub elemsize: usize,
}Expand description
ndim interface for ndim array
Fields§
§id: starpu_data_interface_id< identifier of the interface
ptr: usize< local pointer of the ndim
dev_handle: usize< device handle of the ndim.
offset: usize< offset in the ndim.
allocsize: usize< size actually currently allocated.
nn: *mut u32< array of element number on each dimension
ldn: *mut u32< array of element number between two units on each dimension
ndim: usize< size of the dimension.
elemsize: usize< size of the elements of the ndim.
Trait Implementations§
Source§impl Clone for starpu_ndim_interface
impl Clone for starpu_ndim_interface
Source§fn clone(&self) -> starpu_ndim_interface
fn clone(&self) -> starpu_ndim_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_ndim_interface
impl Debug for starpu_ndim_interface
Source§impl Default for starpu_ndim_interface
impl Default for starpu_ndim_interface
impl Copy for starpu_ndim_interface
Auto Trait Implementations§
impl Freeze for starpu_ndim_interface
impl RefUnwindSafe for starpu_ndim_interface
impl !Send for starpu_ndim_interface
impl !Sync for starpu_ndim_interface
impl Unpin for starpu_ndim_interface
impl UnwindSafe for starpu_ndim_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