tenstorrent / tt-metal

:metal: TT-NN operator library, and TT-Metalium low level kernel programming model.
https://docs.tenstorrent.com/ttnn/latest/index.html
Apache License 2.0
485 stars 79 forks source link

Move relocate_dev_addr behind Hal #15312

Closed blozano-tt closed 3 days ago

blozano-tt commented 4 days ago

Ticket

https://github.com/tenstorrent/tt-metal/issues/14630

Problem description

The implementation of relocate_dev_addr varies by architecture. It depends on ARCH_NAME related ifdefs.

What's changed

Convert the function into a Hal API, so that Hal can abstract the architecture details.

Checklist