#[repr(C)]pub struct starpu_matrix_interface {
pub id: starpu_data_interface_id,
pub ptr: usize,
pub dev_handle: usize,
pub offset: usize,
pub nx: u32,
pub ny: u32,
pub ld: u32,
pub elemsize: usize,
pub allocsize: usize,
}Expand description
Matrix interface for dense matrices
Fields§
§id: starpu_data_interface_id< Identifier of the interface
ptr: usize< local pointer of the matrix
dev_handle: usize< device handle of the matrix
offset: usize< offset in the matrix
nx: u32< number of elements on the x-axis of the matrix
ny: u32< number of elements on the y-axis of the matrix
ld: u32< number of elements between each row of the matrix. Maybe be equal to starpu_matrix_interface::nx when there is no padding.
elemsize: usize< size of the elements of the matrix
allocsize: usize< size actually currently allocated
Trait Implementations§
Source§impl Clone for starpu_matrix_interface
impl Clone for starpu_matrix_interface
Source§fn clone(&self) -> starpu_matrix_interface
fn clone(&self) -> starpu_matrix_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_matrix_interface
impl Debug for starpu_matrix_interface
Source§impl Default for starpu_matrix_interface
impl Default for starpu_matrix_interface
impl Copy for starpu_matrix_interface
Auto Trait Implementations§
impl Freeze for starpu_matrix_interface
impl RefUnwindSafe for starpu_matrix_interface
impl Send for starpu_matrix_interface
impl Sync for starpu_matrix_interface
impl Unpin for starpu_matrix_interface
impl UnwindSafe for starpu_matrix_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