# Node ID 12817f27b991ba38717983ca3c9307edbe65cb0d # Parent afa44f156b6abcb3f7e3862c8e7db2540ae2f792 diff --git a/src/arch/hsail/gpu_isa.hh b/src/arch/hsail/gpu_isa.hh --- a/src/arch/hsail/gpu_isa.hh +++ b/src/arch/hsail/gpu_isa.hh @@ -42,8 +42,6 @@ #include "base/misc.hh" #include "gpu-compute/misc.hh" -class Wavefront; - namespace HsailISA { typedef uint64_t MiscReg; @@ -51,7 +49,7 @@ class GPUISA { public: - GPUISA(Wavefront &wf) : wavefront(wf) + GPUISA() { } @@ -74,9 +72,6 @@ { return old_pc + sizeof(RawMachInst); } - - private: - Wavefront &wavefront; }; } diff --git a/src/gpu-compute/wavefront.cc b/src/gpu-compute/wavefront.cc --- a/src/gpu-compute/wavefront.cc +++ b/src/gpu-compute/wavefront.cc @@ -49,7 +49,7 @@ } Wavefront::Wavefront(const Params *p) - : SimObject(p), callArgMem(nullptr), _gpuISA(*this) + : SimObject(p), callArgMem(nullptr), _gpuISA() { lastTrace = 0; simdId = p->simdId;