Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 0b05ae6

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused-but-set variables in glow/glow/tests/benchmark/TBEBench.cpp +1
Reviewed By: dmm-fb Differential Revision: D57056375 fbshipit-source-id: b8eee25c5b0bd975ea063d9749ce06ead735619e
1 parent 1d55a2b commit 0b05ae6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/benchmark/TBEBench.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ class TBEBench : public Benchmark {
148148
for (size_t layer = 0; layer < param.numTBENodes_; layer++) {
149149

150150
// size_t totalLengthsSum = 0;
151-
size_t totalNumLengths = 0;
152151

153152
// Create placeholders for weights
154153
auto *weights =
@@ -273,7 +272,6 @@ class TBEBench : public Benchmark {
273272
}
274273
offsetsHandle.raw(j) = lengthsSum;
275274
lengthsSum += nextLength;
276-
totalNumLengths += 1;
277275
}
278276
// totalLengthsSum += lengthsSum;
279277
offsetsHandle.raw(lengthsHandle.size()) = lengthsSum;
@@ -317,7 +315,6 @@ class TBEBench : public Benchmark {
317315
}
318316
offsetsHandle.raw(j) = lengthsSum;
319317
lengthsSum += nextLength;
320-
totalNumLengths += 1;
321318
}
322319
// totalLengthsSum += lengthsSum;
323320
offsetsHandle.raw(lengthsHandle.size()) = lengthsSum;

0 commit comments

Comments
 (0)