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

#include <wavefront.hh>

Public Member Functions

template<typename CType >
int getLaneOffset (int lane, int addr)
 
 CallArgMem (int func_args_size_per_item, int wf_size)
 
 ~CallArgMem ()
 
template<typename CType >
uint8_t * getLaneAddr (int lane, int addr)
 
template<typename CType >
void setLaneAddr (int lane, int addr, CType val)
 

Public Attributes

uint8_t * mem
 
int wfSize
 
int funcArgsSizePerItem
 

Detailed Description

Definition at line 105 of file wavefront.hh.

Constructor & Destructor Documentation

CallArgMem::CallArgMem ( int  func_args_size_per_item,
int  wf_size 
)
inline

Definition at line 121 of file wavefront.hh.

References funcArgsSizePerItem, mem, and wfSize.

CallArgMem::~CallArgMem ( )
inline

Definition at line 127 of file wavefront.hh.

References mem.

Member Function Documentation

template<typename CType >
uint8_t* CallArgMem::getLaneAddr ( int  lane,
int  addr 
)
inline

Definition at line 134 of file wavefront.hh.

References addr, and mem.

Referenced by Wavefront::readCallArgMem().

template<typename CType >
int CallArgMem::getLaneOffset ( int  lane,
int  addr 
)
inline

Definition at line 116 of file wavefront.hh.

References wfSize.

template<typename CType >
void CallArgMem::setLaneAddr ( int  lane,
int  addr,
CType  val 
)
inline

Definition at line 141 of file wavefront.hh.

References mem, and X86ISA::val.

Referenced by Wavefront::writeCallArgMem().

Member Data Documentation

int CallArgMem::funcArgsSizePerItem

Definition at line 112 of file wavefront.hh.

Referenced by CallArgMem().

uint8_t* CallArgMem::mem

Definition at line 109 of file wavefront.hh.

Referenced by CallArgMem(), getLaneAddr(), setLaneAddr(), and ~CallArgMem().

int CallArgMem::wfSize

Definition at line 110 of file wavefront.hh.

Referenced by CallArgMem(), and getLaneOffset().


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

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