From 50607488b0bc06073605fdc8bcd80ba40a3419d0 Mon Sep 17 00:00:00 2001 From: Binyang Li Date: Wed, 12 Jun 2024 11:16:00 +0000 Subject: [PATCH] add comments --- tests/test_language.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_language.py b/tests/test_language.py index 5dccb33..af04e17 100755 --- a/tests/test_language.py +++ b/tests/test_language.py @@ -241,7 +241,8 @@ def test_instruction_fusion_multi_deps_mscclpp(): collective = AllReduce(3, 1, True) prgm = MSCCLPPProgram("allreduce", topology, collective, 1) # last reduce_packet depends on put_packets(write after read) - # and first reduce_packet(rank 2 put data to rank 1, data put depends on first reduce_packet) + # and first reduce_packet(rank 2 put data to rank 1, data put depends on first reduce_packet). + # In this case, we don't need to fuse the instructions. with prgm: c0 = chunk(0, Buffer.input, 0) c0.put_packet(1, "scratch", 0, sendtb=0)