Skip to content

Commit

Permalink
#sdy remove use of designated initializers for windows support.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 657733218
  • Loading branch information
tomnatan30 authored and copybara-github committed Jul 30, 2024
1 parent 526fb4d commit bd80d8a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,12 @@ UpdateTensorShardings BasicFactorPropagation::propagateFactorShardings(
UpdateTensorShardings result{
.updateOperands = BitVector(projection.getNumOperands()),
.updateResults = BitVector(projection.getNumResults())};
UpdateTensorShardings result2{
.updateOperands = BitVector(projection.getNumOperands()),
.updateResults = BitVector(projection.getNumResults())};
if (result2.updateOperands.any()) {

}

// We propagate each factor separately.
for (auto [factorIndex, factorSize] : llvm::enumerate(factorSizes)) {
Expand Down

0 comments on commit bd80d8a

Please sign in to comment.