From 5e913bd0670f57dd16d39854e46352337943a9fe Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Wed, 7 Feb 2024 10:00:22 -0800 Subject: [PATCH] Enable `-Wself-assign` in glean/PACKAGE Reviewed By: palmje Differential Revision: D53353704 fbshipit-source-id: 698b3bc2a872076ff6fe9daa762cfeaddb8e6165 --- tests/benchmark/TBEBench.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/benchmark/TBEBench.cpp b/tests/benchmark/TBEBench.cpp index 738a12c2b7..a6b3f08600 100644 --- a/tests/benchmark/TBEBench.cpp +++ b/tests/benchmark/TBEBench.cpp @@ -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;