pub struct TileDescriptor {
pub first_row: usize,
pub has_segment_boundary: bool,
pub num_complete_rows: usize,
pub row_ids: Vec<usize>,
pub is_segment_start: Vec<bool>,
}Expand description
Tile descriptor for CSR5 segmented scan.
Each tile descriptor records:
- Whether the tile contains any row boundaries (segment starts).
- For each column within the tile, the row index of the first element.
- Whether each column within the tile starts a new segment.
Fields§
§first_row: usizeRow index that the first element of this tile belongs to.
has_segment_boundary: boolWhether this tile has any segment boundaries (row transitions).
num_complete_rows: usizeNumber of complete rows that start within this tile.
row_ids: Vec<usize>For each element position in the tile, the row it belongs to.
is_segment_start: Vec<bool>Bit-vector: is_segment_start[i] is true if position i starts a new row.
Trait Implementations§
Source§impl Clone for TileDescriptor
impl Clone for TileDescriptor
Source§fn clone(&self) -> TileDescriptor
fn clone(&self) -> TileDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TileDescriptor
impl RefUnwindSafe for TileDescriptor
impl Send for TileDescriptor
impl Sync for TileDescriptor
impl Unpin for TileDescriptor
impl UnsafeUnpin for TileDescriptor
impl UnwindSafe for TileDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more