summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjkalamat <john.kalamatianos@amd.com>2016-03-21 11:26:23 -0400
committerjkalamat <john.kalamatianos@amd.com>2016-03-21 11:26:23 -0400
commit1ab75c3ee2b330713a09d79709723ab2256d2c0b (patch)
treebd834026f8fb42666ab1fba80fb763594b37d704 /src
parent3ba481496d8a2789ee7e6ff193fbc68cd2008fd2 (diff)
downloadgem5-1ab75c3ee2b330713a09d79709723ab2256d2c0b.tar.xz
gpu-compute: remove unused variable from scoreboard check stage
appease clang by removing the unused private member variable, 'numGlbMemPipes', from the scoreboard check stage
Diffstat (limited to 'src')
-rw-r--r--src/gpu-compute/scoreboard_check_stage.cc1
-rw-r--r--src/gpu-compute/scoreboard_check_stage.hh1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gpu-compute/scoreboard_check_stage.cc b/src/gpu-compute/scoreboard_check_stage.cc
index 0d856a9b0..c7dfe3f0b 100644
--- a/src/gpu-compute/scoreboard_check_stage.cc
+++ b/src/gpu-compute/scoreboard_check_stage.cc
@@ -44,7 +44,6 @@
ScoreboardCheckStage::ScoreboardCheckStage(const ComputeUnitParams *p)
: numSIMDs(p->num_SIMDs),
numMemUnits(p->num_global_mem_pipes + p->num_shared_mem_pipes),
- numGlbMemPipes(p->num_global_mem_pipes),
numShrMemPipes(p->num_shared_mem_pipes),
vectorAluInstAvail(nullptr),
lastGlbMemSimd(-1),
diff --git a/src/gpu-compute/scoreboard_check_stage.hh b/src/gpu-compute/scoreboard_check_stage.hh
index 099597afb..faf4a74f9 100644
--- a/src/gpu-compute/scoreboard_check_stage.hh
+++ b/src/gpu-compute/scoreboard_check_stage.hh
@@ -78,7 +78,6 @@ class ScoreboardCheckStage
ComputeUnit *computeUnit;
uint32_t numSIMDs;
uint32_t numMemUnits;
- uint32_t numGlbMemPipes;
uint32_t numShrMemPipes;
// flag per vector SIMD unit that is set when there is at least one