summaryrefslogtreecommitdiff
path: root/src/arch/hsail/gpu_isa.hh
diff options
context:
space:
mode:
authorTony Gutierrez <anthony.gutierrez@amd.com>2017-02-27 13:18:51 -0500
committerTony Gutierrez <anthony.gutierrez@amd.com>2017-02-27 13:18:51 -0500
commit8602aea4e5edd0cb455fca03237e430babe0b6f2 (patch)
tree80ba85e6d38c76a65a0d2f1c901e25073e689ecd /src/arch/hsail/gpu_isa.hh
parent833fb10ed48ea3bcd7dff5ae0768a119db415f4e (diff)
downloadgem5-8602aea4e5edd0cb455fca03237e430babe0b6f2.tar.xz
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.
Diffstat (limited to 'src/arch/hsail/gpu_isa.hh')
-rw-r--r--src/arch/hsail/gpu_isa.hh7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/arch/hsail/gpu_isa.hh b/src/arch/hsail/gpu_isa.hh
index caee776f1..831ad6ed5 100644
--- 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 @@ namespace HsailISA
class GPUISA
{
public:
- GPUISA(Wavefront &wf) : wavefront(wf)
+ GPUISA()
{
}
@@ -74,9 +72,6 @@ namespace HsailISA
{
return old_pc + sizeof(RawMachInst);
}
-
- private:
- Wavefront &wavefront;
};
}