From 1ab75c3ee2b330713a09d79709723ab2256d2c0b Mon Sep 17 00:00:00 2001 From: jkalamat Date: Mon, 21 Mar 2016 11:26:23 -0400 Subject: gpu-compute: remove unused variable from scoreboard check stage appease clang by removing the unused private member variable, 'numGlbMemPipes', from the scoreboard check stage --- src/gpu-compute/scoreboard_check_stage.cc | 1 - src/gpu-compute/scoreboard_check_stage.hh | 1 - 2 files changed, 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 -- cgit v1.2.3