gem5
v19.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 59 of file lds_state.hh.
|
inline |
Definition at line 62 of file lds_state.hh.
|
inline |
Definition at line 67 of file lds_state.hh.
Referenced by LdsState::reserveSpace().
|
inline |
a read operation
Definition at line 74 of file lds_state.hh.
References chunk, and fatal_if.
Referenced by HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >::execAtomic(), and Wavefront::getContext().
|
inline |
get the size of this chunk
Definition at line 99 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 87 of file lds_state.hh.
References chunk, and fatal_if.
Referenced by HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >::execAtomic(), and Wavefront::setContext().
|
protected |
Definition at line 106 of file lds_state.hh.