gem5
|
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 58 of file lds_state.hh.
|
inline |
Definition at line 61 of file lds_state.hh.
|
inline |
Definition at line 66 of file lds_state.hh.
|
inline |
a read operation
Definition at line 73 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 98 of file lds_state.hh.
References chunk.
Referenced by Wavefront::getContext(), and Wavefront::setContext().
|
inline |
a write operation
Definition at line 86 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 105 of file lds_state.hh.