#[repr(C)]pub struct starpu_block_interface {
pub id: starpu_data_interface_id,
pub ptr: usize,
pub dev_handle: usize,
pub offset: usize,
pub nx: u32,
pub ny: u32,
pub nz: u32,
pub ldy: u32,
pub ldz: u32,
pub elemsize: usize,
}Expand description
Block interface for 3D dense blocks
Fields§
§id: starpu_data_interface_id< identifier of the interface
ptr: usize< local pointer of the block
dev_handle: usize< device handle of the block.
offset: usize< offset in the block.
nx: u32< number of elements on the x-axis of the block.
ny: u32< number of elements on the y-axis of the block.
nz: u32< number of elements on the z-axis of the block.
ldy: u32< number of elements between two lines
ldz: u32< number of elements between two planes
elemsize: usize< size of the elements of the block.
Trait Implementations§
Source§impl Clone for starpu_block_interface
impl Clone for starpu_block_interface
Source§fn clone(&self) -> starpu_block_interface
fn clone(&self) -> starpu_block_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_block_interface
impl Debug for starpu_block_interface
Source§impl Default for starpu_block_interface
impl Default for starpu_block_interface
impl Copy for starpu_block_interface
Auto Trait Implementations§
impl Freeze for starpu_block_interface
impl RefUnwindSafe for starpu_block_interface
impl Send for starpu_block_interface
impl Sync for starpu_block_interface
impl Unpin for starpu_block_interface
impl UnsafeUnpin for starpu_block_interface
impl UnwindSafe for starpu_block_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