[go: nahoru, domu]

Skip to content

Commit

Permalink
Remove unused-but-set variables in glow/glow/lib/Backends/Interpreter…
Browse files Browse the repository at this point in the history
…/InterpreterNodes.cpp +1

Reviewed By: palmje, dmm-fb

Differential Revision: D56887280

fbshipit-source-id: 84bae2324500cd0c0244e9b56bc01708bb78809f
  • Loading branch information
r-barnes authored and facebook-github-bot committed May 4, 2024
1 parent 29201ca commit 014d25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backends/Interpreter/InterpreterNodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6695,7 +6695,7 @@ void BoundInterpreterFunction::fwdIntNBitSplitEmbeddingWeightedBagsImpl(
const auto placement = weightsPlacementH.raw(t);
assert(placement != WeightsPlacement::DEVICE);
auto weightsH = uvmWeightsH;
auto maxWeightsBytes = maxUvmWeightsBytes;
[[maybe_unused]] auto maxWeightsBytes = maxUvmWeightsBytes;
if (placement == WeightsPlacement::HOST) {
weightsH = devWeightsH;
maxWeightsBytes = maxDevWeightsBytes;
Expand Down

0 comments on commit 014d25d

Please sign in to comment.