gem5
v20.0.0.0
|
this represents a slice of the overall LDS, intended to be associated with an individual workgroup More...
#include <lds_state.hh>
Public Member Functions | |
LdsChunk (const uint32_t x_size) | |
LdsChunk () | |
template<class T > | |
T | read (const uint32_t index) |
a read operation More... | |
template<class T > | |
void | write (const uint32_t index, const T value) |
a write operation More... | |
std::vector< uint8_t >::size_type | size () const |
get the size of this chunk More... | |
Protected Attributes | |
std::vector< uint8_t > | chunk |
this represents a slice of the overall LDS, intended to be associated with an individual workgroup
Definition at line 56 of file lds_state.hh.
|
inline |
Definition at line 59 of file lds_state.hh.
|
inline |
Definition at line 64 of file lds_state.hh.
Referenced by LdsState::reserveSpace().
|
inline |
a read operation
Definition at line 71 of file lds_state.hh.
References chunk, and fatal_if.
Referenced by HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >::execAtomic(), Wavefront::getContext(), Gcn3ISA::Inst_DS::initDualMemRead(), and Gcn3ISA::Inst_DS::initMemRead().
|
inline |
get the size of this chunk
Definition at line 96 of file lds_state.hh.
References chunk.
Referenced by Wavefront::getContext(), LdsState::releaseSpace(), LdsState::reserveSpace(), and Wavefront::setContext().
|
inline |
a write operation
Definition at line 84 of file lds_state.hh.
References chunk, and fatal_if.
Referenced by HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >::execAtomic(), Gcn3ISA::Inst_DS::initDualMemWrite(), Gcn3ISA::Inst_DS::initMemWrite(), and Wavefront::setContext().
|
protected |
Definition at line 103 of file lds_state.hh.