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

[Harvesting] Move tt_SocDescriptor accessors to new API inside UMD #451

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

Conversation

broskoTT
Copy link
Contributor

@broskoTT broskoTT commented Jan 3, 2025

Issue

PR towards #439

Description

There are currently workers inside tt_socDescriptor, and then another version inside its coordinate manager. Same for other types of cores.
This PR moves as much as it can to the new API. The final touch will be done when finally removing completely the cluster's version of harvesting.

List of the changes

  • Made all tt_socDescriptor intenal structures private (Reverted)
  • Moved all code which used those to the new get_cores or get_harvested_cores api.

Testing

Existing CI test should be fine.

API Changes

There are no API changes in this PR.
I've left the accessors public, even though I've removed the usage at most places in UMD repo. This will allow us to remove this subsequently in tt_metal, and only then move it to private here.

@broskoTT broskoTT requested a review from pjanevskiTT January 3, 2025 15:42
device/cluster.cpp Outdated Show resolved Hide resolved
device/cluster.cpp Outdated Show resolved Hide resolved
device/cluster.cpp Outdated Show resolved Hide resolved
device/api/umd/device/tt_soc_descriptor.h Outdated Show resolved Hide resolved
@broskoTT broskoTT force-pushed the brosko/harvest_soc_private branch from 5fa4901 to 69edb64 Compare January 10, 2025 10:29
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.

2 participants