tenstorrent / tt-umd

User-Mode Driver for Tenstorrent hardware
Apache License 2.0
9 stars 5 forks source link

Harvesting in SoCDescriptor #102

Closed broskoTT closed 1 week ago

broskoTT commented 1 month ago

Related to https://docs.google.com/drawings/d/1-m1azdsBqMA0A6ATYRMfkhyeuOJuGCEI62N5a96LXj0/edit?usp=sharing

SoCDescriptor holds anything related to chip's placement, locations , etc. Harvesting logic should be moved to it. SoCDescriptor's constructor should accept Arch and harvesting info. Try to remove harvesting related functions from tt_SiliconDriver. Ones which are still needed should be accessed through tt_SiliconDriver::get_soc_descriptor()