Skip to content

Commit f8652a2

Browse files
cyyeverfacebook-github-bot
authored andcommitted
Fix unused variable warnings (pytorch#4625)
Summary: X-link: facebookresearch/FBGEMM#1663 In cases where AVX instructions are not available. Pull Request resolved: pytorch#4625 Reviewed By: cthi Differential Revision: D79417503 Pulled By: q10 fbshipit-source-id: 34cba1c3593a5868c742a1522129b7c325510060
1 parent 201ac97 commit f8652a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/GroupwiseConv.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -882,13 +882,13 @@ template <typename processOutputType, typename outT, typename inT>
882882
static void dispatchOutputProcessing(
883883
const processOutputType& outProcess,
884884
int32_t* rowOffsetBuf,
885-
outT* out,
886-
const inT* inp,
887-
const block_type_t& block,
888-
int ld_out,
889-
int ld_in,
885+
outT* out [[maybe_unused]],
886+
const inT* inp [[maybe_unused]],
887+
const block_type_t& block [[maybe_unused]],
888+
int ld_out [[maybe_unused]],
889+
int ld_in [[maybe_unused]],
890890
int groups,
891-
int C_per_G,
891+
int C_per_G [[maybe_unused]],
892892
true_type /*unused*/) {
893893
constexpr QuantizationGranularity Q_GRAN = processOutputType::QGRANType;
894894
[[maybe_unused]] constexpr int FUSE_RELU = processOutputType::RELU_FUSED;

0 commit comments

Comments
 (0)