gpu-compute: remove unnecessary member from class
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.
This commit is contained in:
parent
833fb10ed4
commit
8602aea4e5
|
@ -42,8 +42,6 @@
|
||||||
#include "base/misc.hh"
|
#include "base/misc.hh"
|
||||||
#include "gpu-compute/misc.hh"
|
#include "gpu-compute/misc.hh"
|
||||||
|
|
||||||
class Wavefront;
|
|
||||||
|
|
||||||
namespace HsailISA
|
namespace HsailISA
|
||||||
{
|
{
|
||||||
typedef uint64_t MiscReg;
|
typedef uint64_t MiscReg;
|
||||||
|
@ -51,7 +49,7 @@ namespace HsailISA
|
||||||
class GPUISA
|
class GPUISA
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GPUISA(Wavefront &wf) : wavefront(wf)
|
GPUISA()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,9 +72,6 @@ namespace HsailISA
|
||||||
{
|
{
|
||||||
return old_pc + sizeof(RawMachInst);
|
return old_pc + sizeof(RawMachInst);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
Wavefront &wavefront;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ WavefrontParams::create()
|
||||||
}
|
}
|
||||||
|
|
||||||
Wavefront::Wavefront(const Params *p)
|
Wavefront::Wavefront(const Params *p)
|
||||||
: SimObject(p), callArgMem(nullptr), _gpuISA(*this)
|
: SimObject(p), callArgMem(nullptr), _gpuISA()
|
||||||
{
|
{
|
||||||
lastTrace = 0;
|
lastTrace = 0;
|
||||||
simdId = p->simdId;
|
simdId = p->simdId;
|
||||||
|
|
Loading…
Reference in a new issue