From fe9ee006f136b1b2f43dbbcabdcfce33f8c0a18d Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Thu, 9 May 2024 14:51:51 -0700 Subject: [PATCH] Remove unused-but-set variables in glow/glow/tests/benchmark/TBEBench.cpp +1 Reviewed By: dmm-fb Differential Revision: D57056375 --- tests/benchmark/TBEBench.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/benchmark/TBEBench.cpp b/tests/benchmark/TBEBench.cpp index a6b3f0860..4ae842f8f 100644 --- a/tests/benchmark/TBEBench.cpp +++ b/tests/benchmark/TBEBench.cpp @@ -148,7 +148,6 @@ class TBEBench : public Benchmark { for (size_t layer = 0; layer < param.numTBENodes_; layer++) { // size_t totalLengthsSum = 0; - size_t totalNumLengths = 0; // Create placeholders for weights auto *weights = @@ -273,7 +272,6 @@ class TBEBench : public Benchmark { } offsetsHandle.raw(j) = lengthsSum; lengthsSum += nextLength; - totalNumLengths += 1; } // totalLengthsSum += lengthsSum; offsetsHandle.raw(lengthsHandle.size()) = lengthsSum; @@ -317,7 +315,6 @@ class TBEBench : public Benchmark { } offsetsHandle.raw(j) = lengthsSum; lengthsSum += nextLength; - totalNumLengths += 1; } // totalLengthsSum += lengthsSum; offsetsHandle.raw(lengthsHandle.size()) = lengthsSum;