|
gem5
v21.0.1.0
|
#include <gpu_exec_context.hh>
Public Member Functions | |
| GPUExecContext (ComputeUnit *_cu, Wavefront *_wf) | |
| Wavefront * | wavefront () |
| ComputeUnit * | computeUnit () |
| template<typename T > | |
| T | readConstVal (int opIdx) const |
| RegVal | readMiscReg (int opIdx) const |
| void | writeMiscReg (int opIdx, RegVal operandVal) |
Protected Attributes | |
| ComputeUnit * | cu |
| Wavefront * | wf |
| TheGpuISA::GPUISA * | gpuISA |
Definition at line 44 of file gpu_exec_context.hh.
| GPUExecContext::GPUExecContext | ( | ComputeUnit * | _cu, |
| Wavefront * | _wf | ||
| ) |
Definition at line 37 of file gpu_exec_context.cc.
| ComputeUnit * GPUExecContext::computeUnit | ( | ) |
Definition at line 43 of file gpu_exec_context.cc.
References cu.
Referenced by GPUDynInst::doApertureCheck(), and GPUDynInst::GPUDynInst().
|
inline |
Definition at line 52 of file gpu_exec_context.hh.
References gpuISA.
| RegVal GPUExecContext::readMiscReg | ( | int | opIdx | ) | const |
Definition at line 55 of file gpu_exec_context.cc.
References gpuISA.
| Wavefront * GPUExecContext::wavefront | ( | ) |
Definition at line 49 of file gpu_exec_context.cc.
References wf.
Referenced by GPUDynInst::resolveFlatSegment().
| void GPUExecContext::writeMiscReg | ( | int | opIdx, |
| RegVal | operandVal | ||
| ) |
Definition at line 62 of file gpu_exec_context.cc.
References gpuISA, and X86ISA::val.
|
protected |
Definition at line 61 of file gpu_exec_context.hh.
Referenced by GPUDynInst::completeAcc(), computeUnit(), GPUDynInst::initiateAcc(), GPUDynInst::makeAtomicOpFunctor(), and GPUDynInst::updateStats().
|
protected |
Definition at line 63 of file gpu_exec_context.hh.
Referenced by readConstVal(), readMiscReg(), and writeMiscReg().
|
protected |
Definition at line 62 of file gpu_exec_context.hh.
Referenced by wavefront().