Adding Channel Type in ReduceSend Operation on DSL (#777)

The reduce send operation in DSL essentially combines the reduce and put
operations. The put operation carry the information about the channel
type, whereas previously, we were using the channel type from the reduce
operation.
This commit is contained in:
Caio Rocha
2026-04-08 16:59:08 -07:00
committed by GitHub
parent ed565ceb33
commit 3e5c41c98a

View File

@@ -745,7 +745,7 @@ class ReduceOperation(BaseOperation):
remote_dst_buff=self.remote_dst_buff + other.dst_buff,
channel_ids=self.channel_ids,
put_channel_ids=self.put_channel_ids + other.channel_ids,
channel_type=self.channel_type,
channel_type=other.channel_type,
reduce_operation=self.reduce_operation,
tbg_info=self.tbg_info,
packet=self.packet,