Skip to content

Commit

Permalink
#0: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yugaoTT committed Nov 29, 2024
1 parent 3d41624 commit c5cfaa0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion tt_metal/hw/inc/blackhole/noc_nonblocking_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ inline __attribute__((always_inline)) void ncrisc_noc_fast_read_with_transaction

NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_RET_ADDR_LO, dest_addr);
NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_TARG_ADDR_LO, src_addr_); // (uint32_t)src_addr
NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_PACKET_TAG, NOC_PACKET_TAG_TRANSACTION_ID(trid));
NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_CMD_CTRL, NOC_CTRL_SEND_REQ);
noc_reads_num_issued[noc] += 1;
}
Expand Down
1 change: 0 additions & 1 deletion tt_metal/hw/inc/wormhole/noc_nonblocking_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ inline __attribute__((always_inline)) void ncrisc_noc_fast_read_with_transaction

NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_RET_ADDR_LO, dest_addr);
NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_TARG_ADDR_LO, src_addr_); // (uint32_t)src_addr
NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_PACKET_TAG, NOC_PACKET_TAG_TRANSACTION_ID(trid));
NOC_CMD_BUF_WRITE_REG(noc, cmd_buf, NOC_CMD_CTRL, NOC_CTRL_SEND_REQ);
noc_reads_num_issued[noc] += 1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ void kernel_main() {
uint32_t l1_write_addr_in1_start = get_write_ptr(cb_id_in1);
l1_write_addr_in1 = l1_write_addr_in1_start;
for (uint32_t block = 0; block < num_blocks; ++block) {
noc_async_read_tile_dram_sharded_set_trid(curr_block_trid);

for (uint32_t h = 0; h < in1_num_pages; ++h) {
noc_async_read_tile_dram_sharded_with_state_with_trid(
in1_base_addr, l1_read_addr_in1, l1_write_addr_in1, curr_block_trid);
Expand Down

0 comments on commit c5cfaa0

Please sign in to comment.