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

Rename architecture_implementation to TTDevice #145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

broskoTT
Copy link
Contributor

This is just a first step related to #98
For more information consult https://docs.google.com/drawings/d/1-m1azdsBqMA0A6ATYRMfkhyeuOJuGCEI62N5a96LXj0/edit

This change just renames and moves files, without any functional changes -> for ease of review.
The following change will implement further changes to set TTDevice own PCIDevice, rather than other way around.

Not sure though if I should wait for original tt_device.h to be renamed first to something else (cluster.h), not to add confusion with this rename.

@broskoTT broskoTT requested review from joelsmithTT and pjanevskiTT and removed request for joelsmithTT October 10, 2024 14:36
@broskoTT broskoTT linked an issue Oct 10, 2024 that may be closed by this pull request
Copy link
Contributor

@pjanevskiTT pjanevskiTT left a comment

Choose a reason for hiding this comment

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

Nice

device/tt_device/tt_device.cpp Show resolved Hide resolved
device/pcie/pci_device.cpp Show resolved Hide resolved
device/pcie/pci_device.hpp Show resolved Hide resolved
@@ -585,7 +585,7 @@ class tt_device
std::unordered_map<chip_id_t, tt_SocDescriptor> soc_descriptor_per_chip = {};
};

#include "device/architecture_implementation.h"
#include "device/tt_device/tt_device.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

device/tt_device.h and device/tt_device/tt_device.h is confusing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, exactly. I've left a comment in the PR because of that, to wait for tt_device rename to cluster.h first maybe. Even tt_device and TTDevice is confusing. @vtangTT removed this class previously specifically to remove confusion.
I'll leave this comment open until this is resolved.

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.

TTDevice class
3 participants