gem5  v22.1.0.0
Public Member Functions | Protected Attributes | List of all members
gem5::GPUExecContext Class Reference

#include <gpu_exec_context.hh>

Inheritance diagram for gem5::GPUExecContext:

Public Member Functions

 GPUExecContext (ComputeUnit *_cu, Wavefront *_wf)
Wavefrontwavefront ()
ComputeUnitcomputeUnit ()
template<typename T >
readConstVal (int opIdx) const
RegVal readMiscReg (int opIdx) const
void writeMiscReg (int opIdx, RegVal operandVal)

Protected Attributes


Detailed Description

Definition at line 45 of file gpu_exec_context.hh.

Constructor & Destructor Documentation

◆ GPUExecContext()

gem5::GPUExecContext::GPUExecContext ( ComputeUnit _cu,
Wavefront _wf 

Definition at line 38 of file

Member Function Documentation

◆ computeUnit()

ComputeUnit * gem5::GPUExecContext::computeUnit ( )

◆ readConstVal()

template<typename T >
T gem5::GPUExecContext::readConstVal ( int  opIdx) const

Definition at line 53 of file gpu_exec_context.hh.

References gpuISA.

◆ readMiscReg()

RegVal gem5::GPUExecContext::readMiscReg ( int  opIdx) const

Definition at line 56 of file

References gpuISA.

◆ wavefront()

Wavefront * gem5::GPUExecContext::wavefront ( )

◆ writeMiscReg()

void gem5::GPUExecContext::writeMiscReg ( int  opIdx,
RegVal  operandVal 

Definition at line 63 of file

References gpuISA, and gem5::X86ISA::val.

Member Data Documentation

◆ cu

ComputeUnit* gem5::GPUExecContext::cu

◆ gpuISA

TheGpuISA::GPUISA* gem5::GPUExecContext::gpuISA

Definition at line 64 of file gpu_exec_context.hh.

Referenced by readConstVal(), readMiscReg(), and writeMiscReg().

◆ wf

Wavefront* gem5::GPUExecContext::wf

Definition at line 63 of file gpu_exec_context.hh.

Referenced by wavefront().

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

Generated on Wed Dec 21 2022 10:23:23 for gem5 by doxygen 1.9.1