Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old fd init code path #16321

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Remove old fd init code path #16321

wants to merge 2 commits into from

Conversation

tt-dma
Copy link
Contributor

@tt-dma tt-dma commented Dec 26, 2024

New FD init has landed and seems stable, this PR removes the old FD init.

CI: https://github.com/tenstorrent/tt-metal/actions/runs/12489907171, https://github.com/tenstorrent/tt-metal/actions/runs/12495980066 (same failures as main)

@@ -3980,35 +1867,6 @@ std::vector<CoreCoord> Device::get_optimal_dram_bank_to_logical_worker_assignmen
return this->optimal_dram_bank_to_logical_worker_assignment_;
}

HalProgrammableCoreType Device::get_programmable_core_type(CoreCoord virtual_core) const {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR undoes (some of? all?) changes @ayerofieiev-tt made in #16259 -- is this intentional, or bad rebase?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad rebase I think, let me check on this

Copy link
Contributor

@arikTT arikTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love PRs that remove code!

}

void Device::begin_trace(const uint8_t cq_id, const uint32_t tid) {
ZoneScoped;
TracyTTMetalBeginTrace(this->id(), tid);
TT_FATAL(!this->hw_command_queues_[cq_id]->tid.has_value(), "CQ {} is already being used for tracing tid {}", (uint32_t)cq_id, tid);
this->mark_allocations_safe();
this->MarkAllocationsSafe();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we changing casing? Even for camel case, first m should be lower case

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad rebase I think, will fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants