gpu-compute: remove unused variable from scoreboard check stage
authorjkalamat <john.kalamatianos@amd.com>
Mon, 21 Mar 2016 15:26:23 +0000 (11:26 -0400)
committerjkalamat <john.kalamatianos@amd.com>
Mon, 21 Mar 2016 15:26:23 +0000 (11:26 -0400)
appease clang by removing the unused private member variable,
'numGlbMemPipes', from the scoreboard check stage

src/gpu-compute/scoreboard_check_stage.cc
src/gpu-compute/scoreboard_check_stage.hh

index 0d856a9b002ca3c7ec7273c583443496e831be13..c7dfe3f0bbb159c8e26474182c812776b2caa476 100644 (file)
@@ -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),
index 099597afbb1e9d93f6080b23b8110e3a7e1d085a..faf4a74f9267f3a9a2bd889811dab07a3d668e80 100644 (file)
@@ -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