The clang compiler complains that the wavefront member in
the GpuISA class is unused. This changeset removes the member,
because it does not appear serve a purpose.
#include "base/misc.hh"
#include "gpu-compute/misc.hh"
-class Wavefront;
-
namespace HsailISA
{
typedef uint64_t MiscReg;
class GPUISA
{
public:
- GPUISA(Wavefront &wf) : wavefront(wf)
+ GPUISA()
{
}
{
return old_pc + sizeof(RawMachInst);
}
-
- private:
- Wavefront &wavefront;
};
}
}
Wavefront::Wavefront(const Params *p)
- : SimObject(p), callArgMem(nullptr), _gpuISA(*this)
+ : SimObject(p), callArgMem(nullptr), _gpuISA()
{
lastTrace = 0;
simdId = p->simdId;