Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Sep 11, 2024
1 parent 5b202d6 commit 6a8e3ce
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 @@ -294,7 +294,7 @@ def _optimize_rrcs_rs(self):
fused = False
if op.inst == Instruction.read_reduce_copy or op.inst == Instruction.read_reduce_copy_send:
for next_op in op.next:
fused = optimizer.try_merge_with_put(op, next_op, tb, queue, Instruction.read_reduce_copy_send)
fused = optimizer.try_merge_with_put(op, next_op, tb, queue, op.inst)
if fused:
break
if fused:
Expand Down

0 comments on commit 6a8e3ce

Please sign in to comment.