Skip to content

Commit

Permalink
Remove unused-but-set variables in glow/glow/tests/benchmark/TBEBench…
Browse files Browse the repository at this point in the history
….cpp +1

Reviewed By: dmm-fb

Differential Revision: D57056375

fbshipit-source-id: b8eee25c5b0bd975ea063d9749ce06ead735619e
  • Loading branch information
r-barnes authored and facebook-github-bot committed May 9, 2024
1 parent 1d55a2b commit 0b05ae6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/benchmark/TBEBench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down Expand Up @@ -273,7 +272,6 @@ class TBEBench : public Benchmark {
}
offsetsHandle.raw(j) = lengthsSum;
lengthsSum += nextLength;
totalNumLengths += 1;
}
// totalLengthsSum += lengthsSum;
offsetsHandle.raw(lengthsHandle.size()) = lengthsSum;
Expand Down Expand Up @@ -317,7 +315,6 @@ class TBEBench : public Benchmark {
}
offsetsHandle.raw(j) = lengthsSum;
lengthsSum += nextLength;
totalNumLengths += 1;
}
// totalLengthsSum += lengthsSum;
offsetsHandle.raw(lengthsHandle.size()) = lengthsSum;
Expand Down

0 comments on commit 0b05ae6

Please sign in to comment.