|
gem5
v22.1.0.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 45 of file gpu_exec_context.hh.
| gem5::GPUExecContext::GPUExecContext | ( | ComputeUnit * | _cu, |
| Wavefront * | _wf | ||
| ) |
Definition at line 38 of file gpu_exec_context.cc.
| ComputeUnit * gem5::GPUExecContext::computeUnit | ( | ) |
Definition at line 44 of file gpu_exec_context.cc.
References cu.
Referenced by gem5::GPUDynInst::doApertureCheck(), gem5::GPUDynInst::GPUDynInst(), and gem5::GPUDynInst::resolveFlatSegment().
|
inline |
Definition at line 53 of file gpu_exec_context.hh.
References gpuISA.
| RegVal gem5::GPUExecContext::readMiscReg | ( | int | opIdx | ) | const |
Definition at line 56 of file gpu_exec_context.cc.
References gpuISA.
| Wavefront * gem5::GPUExecContext::wavefront | ( | ) |
Definition at line 50 of file gpu_exec_context.cc.
References wf.
Referenced by gem5::GPUDynInst::GPUDynInst(), gem5::GPUDynInst::pc(), and gem5::GPUDynInst::resolveFlatSegment().
| void gem5::GPUExecContext::writeMiscReg | ( | int | opIdx, |
| RegVal | operandVal | ||
| ) |
Definition at line 63 of file gpu_exec_context.cc.
References gpuISA, and gem5::X86ISA::val.
|
protected |
Definition at line 62 of file gpu_exec_context.hh.
Referenced by gem5::GPUDynInst::completeAcc(), computeUnit(), gem5::GPUDynInst::initiateAcc(), gem5::GPUDynInst::makeAtomicOpFunctor(), and gem5::GPUDynInst::updateStats().
|
protected |
Definition at line 64 of file gpu_exec_context.hh.
Referenced by readConstVal(), readMiscReg(), and writeMiscReg().
|
protected |
Definition at line 63 of file gpu_exec_context.hh.
Referenced by wavefront().