tenstorrent / tt-umd

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

Fix Metal build: put detect_arch() back v2 #178

Closed broskoTT closed 3 weeks ago

broskoTT commented 3 weeks ago

I've rushed into merging Joel's change #175 Seems like there were two detect_arch() calls which were needed. This time I've manually verified that tt_metal builds with UMD on this branch.

I've also added an API test to document this usage, which should be changed, probably to tt::umd::ClusterDescriptor::get_arch(chip_id) or something similar

Fixes #171