gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
LdsChunk Class Reference

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 >
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
 

Detailed Description

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.

Constructor & Destructor Documentation

LdsChunk::LdsChunk ( const uint32_t  x_size)
inline

Definition at line 61 of file lds_state.hh.

LdsChunk::LdsChunk ( )
inline

Definition at line 66 of file lds_state.hh.

Member Function Documentation

template<class T >
T LdsChunk::read ( const uint32_t  index)
inline
std::vector<uint8_t>::size_type LdsChunk::size ( ) const
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().

template<class T >
void LdsChunk::write ( const uint32_t  index,
const T  value 
)
inline

Member Data Documentation

std::vector<uint8_t> LdsChunk::chunk
protected

Definition at line 105 of file lds_state.hh.

Referenced by read(), size(), and write().


The documentation for this class was generated from the following file:

Generated on Fri Jun 9 2017 13:04:13 for gem5 by doxygen 1.8.6