pub struct BufferReader<ES: Numeric, T: TilingLayout> {
pub stage: Stage<ES, T>,
pub buffer_id: BufferId,
/* private fields */
}
Fields§
§stage: Stage<ES, T>
§buffer_id: BufferId
Implementations§
Source§impl<ES: Numeric, T: TilingLayout> BufferReader<ES, T>
impl<ES: Numeric, T: TilingLayout> BufferReader<ES, T>
pub fn new( stage: Stage<ES, T>, buffer_id: BufferId, input_ident: InputIdent, ) -> BufferReader<ES, T>
pub fn __expand_new( context: &mut Scope, stage: <Stage<ES, T> as CubeType>::ExpandType, buffer_id: BufferId, input_ident: InputIdent, ) -> <BufferReader<ES, T> as CubeType>::ExpandType
Trait Implementations§
Source§impl<ES: Numeric, T: TilingLayout> CubeType for BufferReader<ES, T>
impl<ES: Numeric, T: TilingLayout> CubeType for BufferReader<ES, T>
type ExpandType = BufferReaderExpand<ES, T>
Source§fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl<ES: Numeric, T: TilingLayout> Reader<ES> for BufferReader<ES, T>
impl<ES: Numeric, T: TilingLayout> Reader<ES> for BufferReader<ES, T>
fn num_k_iterations<TC: TileConfig>(_config: CommonStageConfig<TC>) -> u32
fn read_tile<TC: TileConfig>( this: &Self, row: u32, col: u32, config: CommonStageConfig<TC>, ) -> Tile<ES>
fn __expand_num_k_iterations<TC: TileConfig>( context: &mut Scope, _config: CommonStageConfig<TC>, ) -> u32
fn __expand_read_tile<TC: TileConfig>( context: &mut Scope, this: <Self as CubeType>::ExpandType, row: <u32 as CubeType>::ExpandType, col: <u32 as CubeType>::ExpandType, config: CommonStageConfig<TC>, ) -> <Tile<ES> as CubeType>::ExpandType
Auto Trait Implementations§
impl<ES, T> Freeze for BufferReader<ES, T>
impl<ES, T> RefUnwindSafe for BufferReader<ES, T>where
T: RefUnwindSafe,
ES: RefUnwindSafe,
impl<ES, T> Send for BufferReader<ES, T>
impl<ES, T> Sync for BufferReader<ES, T>
impl<ES, T> Unpin for BufferReader<ES, T>
impl<ES, T> UnwindSafe for BufferReader<ES, T>where
T: UnwindSafe,
ES: UnwindSafe,
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