gem5
|
#include <hsa_object.hh>
Public Member Functions | |
HsaObject (const std::string &fileName) | |
virtual HsaCode * | getKernel (const std::string &name) const =0 |
virtual HsaCode * | getKernel (int i) const =0 |
virtual HsaCode * | getFunction (const std::string &name) const =0 |
virtual int | numKernels () const =0 |
const std::string & | name () const |
Static Public Member Functions | |
static HsaObject * | createHsaObject (const std::string &fname) |
Public Attributes | |
uint8_t * | readonlyData |
Static Public Attributes | |
static std::vector < std::function< HsaObject *(const std::string &, int, uint8_t *)> > | tryFileFuncs = { BrigObject::tryFile } |
Protected Attributes | |
const std::string | filename |
Definition at line 51 of file hsa_object.hh.
HsaObject::HsaObject | ( | const std::string & | fileName | ) |
Definition at line 43 of file hsa_object.cc.
|
static |
Definition at line 49 of file hsa_object.cc.
References MipsISA::ate, fatal, and tryFileFuncs.
Referenced by ClDriver::ClDriver().
|
pure virtual |
Implemented in BrigObject.
|
pure virtual |
Implemented in BrigObject.
Referenced by ClDriver::ClDriver().
|
pure virtual |
Implemented in BrigObject.
|
inline |
Definition at line 65 of file hsa_object.hh.
References filename.
|
pure virtual |
Implemented in BrigObject.
Referenced by ClDriver::ClDriver().
|
protected |
Definition at line 71 of file hsa_object.hh.
Referenced by name().
uint8_t* HsaObject::readonlyData |
Definition at line 67 of file hsa_object.hh.
Referenced by ClDriver::ClDriver().
|
static |
Definition at line 58 of file hsa_object.hh.
Referenced by createHsaObject().