Skip to content

Commit

Permalink
Enable -Wself-assign in glean/PACKAGE
Browse files Browse the repository at this point in the history
Reviewed By: palmje

Differential Revision: D53353704
  • Loading branch information
r-barnes authored and facebook-github-bot committed Feb 5, 2024
1 parent ac07d16 commit 7ed786e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/benchmark/TBEBench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ class TBEBench : public Benchmark {
// For 4bit tables the number of bytes should be halved (rounded up).
numBytePerRow = (numBytePerRow + 1) / 2;
} else if (param.fusedDtype_ == ElemKind::UInt8FusedQTy) {
// For 8bit tables.
numBytePerRow = numBytePerRow;
// For 8bit tables numBytePerRow is already correct
} else { // (param.fusedDtype_ == ElemKind::FP16QTy)
// For 16bit tables.
numBytePerRow = numBytePerRow * 2;
Expand Down

0 comments on commit 7ed786e

Please sign in to comment.