Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Sep 12, 2024
1 parent a06dbb4 commit 8006716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msccl/language/mscclpp/instruction_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _remove_redundant_signal_wait(self):
break
elif op.inst == Instruction.reduce_packet or op.inst == Instruction.copy_packet:
for prev_op in op.prev:
fused = optimizer.try_remove_op(prev_op, next_op.inst == Instruction.wait)
fused = optimizer.try_remove_op(prev_op, prev_op.inst == Instruction.wait)
if fused:
break
if fused:
Expand Down

0 comments on commit 8006716

Please sign in to comment.