Skip to content

Commit

Permalink
#0: fix span
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-TT committed Nov 27, 2024
1 parent fba45a6 commit fb5fd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/llrt/tt_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void memory::pack_data_into_text(std::uint64_t text_start, std::uint64_t data_st
// Copy text spans. May start after data span (ncrisc)
for (const auto& span : this->link_spans_) {
if (span.addr >= text_start && span.addr < text_end) {
if (first_text) abort();
if (!first_text) abort();
if (first_text) {
new_span.addr = span.addr;
first_text = false;
Expand Down

0 comments on commit fb5fd65

Please sign in to comment.