From: jkalamat Date: Mon, 21 Mar 2016 15:26:23 +0000 (-0400) Subject: gpu-compute: remove unused variable from scoreboard check stage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ab75c3ee2b330713a09d79709723ab2256d2c0b;p=gem5.git gpu-compute: remove unused variable from scoreboard check stage appease clang by removing the unused private member variable, 'numGlbMemPipes', from the scoreboard check stage --- 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