|
gem5
v19.0.0.0
|
#include <hsa_code.hh>
Public Member Functions | |
| HsaCode (const std::string &name) | |
| const std::string & | name () const |
| int | numInsts () const |
| std::vector< TheGpuISA::RawMachInst > * | insts () |
| void | setReadonlyData (uint8_t *_readonly_data) |
| virtual int | getSize (MemorySegment segment) const =0 |
| virtual void | generateHsaKernelInfo (HsaKernelInfo *hsaKernelInfo) const =0 |
Public Attributes | |
| uint8_t * | readonly_data |
| int | funcarg_size |
Protected Attributes | |
| std::vector< TheGpuISA::RawMachInst > | _insts |
Private Attributes | |
| const std::string | _name |
Definition at line 55 of file hsa_code.hh.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| FLAT | |
| GLOBAL | |
| READONLY | |
| KERNARG | |
| GROUP | |
| PRIVATE | |
| SPILL | |
| ARG | |
| EXTSPACE0 | |
Definition at line 63 of file hsa_code.hh.
|
inline |
Definition at line 58 of file hsa_code.hh.
|
pure virtual |
Implemented in HsailCode.
Referenced by ClDriver::ClDriver(), and setReadonlyData().
|
pure virtual |
Implemented in HsailCode.
Referenced by setReadonlyData().
|
inline |
|
inline |
Definition at line 76 of file hsa_code.hh.
References _name.
Referenced by ClDriver::ClDriver(), ClDriver::ioctl(), and LabelMap::refLabel().
|
inline |
Definition at line 77 of file hsa_code.hh.
References _insts.
Referenced by ClDriver::ClDriver(), and ClDriver::ioctl().
|
inline |
Definition at line 81 of file hsa_code.hh.
References generateHsaKernelInfo(), getSize(), and readonly_data.
|
protected |
Definition at line 95 of file hsa_code.hh.
Referenced by HsailCode::init(), insts(), and numInsts().
|
private |
Definition at line 98 of file hsa_code.hh.
Referenced by name().
| int HsaCode::funcarg_size |
Definition at line 90 of file hsa_code.hh.
Referenced by HsailCode::init().
| uint8_t* HsaCode::readonly_data |
Definition at line 89 of file hsa_code.hh.
Referenced by setReadonlyData().