Skip to content

Commit

Permalink
0: Fix Packed unicast size
Browse files Browse the repository at this point in the history
We were always calculating the size with multicast subcommands, which is incorrect.
  • Loading branch information
jbaumanTT committed Feb 1, 2025
1 parent 6c87f4c commit df27545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/impl/program/dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ void insert_write_packed_payloads(
tt::align(sizeof(CQDispatchCmd) + num_sub_cmds_in_cmd * sizeof(PackedSubCmd), l1_alignment);
packed_cmd_payloads.emplace_back(num_sub_cmds_in_cmd, dispatch_cmd_sizeB + aligned_data_sizeB);
rem_num_sub_cmds -= num_sub_cmds_in_cmd;
calculator.add_dispatch_write_packed<CQDispatchWritePackedMulticastSubCmd>(
calculator.add_dispatch_write_packed<PackedSubCmd>(
num_sub_cmds_in_cmd, sub_cmd_sizeB, packed_write_max_unicast_sub_cmds);
}
}
Expand Down

0 comments on commit df27545

Please sign in to comment.