gem5 v24.0.0.0
|
Provides a view of a vertical slice of either a MatStore or a Tile. More...
#include <matrix.hh>
Public Member Functions | |
ElemType & | operator[] (size_t elem_idx) |
void | zero () |
Private Member Functions | |
VerticalSlice (Container &cnt, size_t _startBytes, size_t _strideBytes, size_t idx) | |
Private Attributes | |
Container * | container |
size_t | index |
size_t | xElems |
size_t | yElems |
size_t | startElts |
size_t | strideElts |
Friends | |
template<size_t , size_t > | |
class | MatStore |
template<typename , typename > | |
class | Tile |
Provides a view of a vertical slice of either a MatStore or a Tile.
Based on whether this view it is being used from the MatStore directly or from the Tile different parameters are used. Behind the scenes the parameters are used to stride through the (linear) backing store in order to return or maniplate the desired elements of the row/column.
ElemType | The type of element to use for the view. |
Container | The type of container being used as the backing store. |
FromTile | Set true if operating on an interleaved tile. |
|
inlineprivate |
Definition at line 238 of file matrix.hh.
References gem5::VerticalSlice< ElemType, Container, FromTile >::container, gem5_assert, gem5::VerticalSlice< ElemType, Container, FromTile >::xElems, and gem5::VerticalSlice< ElemType, Container, FromTile >::yElems.
|
inline |
Definition at line 265 of file matrix.hh.
References gem5::VerticalSlice< ElemType, Container, FromTile >::container, gem5::VerticalSlice< ElemType, Container, FromTile >::index, gem5::VerticalSlice< ElemType, Container, FromTile >::startElts, gem5::VerticalSlice< ElemType, Container, FromTile >::strideElts, and gem5::VerticalSlice< ElemType, Container, FromTile >::yElems.
|
inline |
Definition at line 273 of file matrix.hh.
References gem5::ArmISA::i, and gem5::VerticalSlice< ElemType, Container, FromTile >::yElems.
|
friend |
|
friend |
|
private |
Definition at line 230 of file matrix.hh.
Referenced by gem5::VerticalSlice< ElemType, Container, FromTile >::operator[](), and gem5::VerticalSlice< ElemType, Container, FromTile >::VerticalSlice().
|
private |
Definition at line 231 of file matrix.hh.
Referenced by gem5::VerticalSlice< ElemType, Container, FromTile >::operator[]().
|
private |
Definition at line 234 of file matrix.hh.
Referenced by gem5::VerticalSlice< ElemType, Container, FromTile >::operator[]().
|
private |
Definition at line 235 of file matrix.hh.
Referenced by gem5::VerticalSlice< ElemType, Container, FromTile >::operator[]().
|
private |
Definition at line 232 of file matrix.hh.
Referenced by gem5::VerticalSlice< ElemType, Container, FromTile >::VerticalSlice().
|
private |
Definition at line 233 of file matrix.hh.
Referenced by gem5::VerticalSlice< ElemType, Container, FromTile >::operator[](), gem5::VerticalSlice< ElemType, Container, FromTile >::VerticalSlice(), and gem5::VerticalSlice< ElemType, Container, FromTile >::zero().