tenstorrent / tt-metal

:metal: TT-NN operator library, and TT-Metalium low level kernel programming model.
Apache License 2.0
368 stars 37 forks source link

[Blackhole bringup] Pass get_pcie_base_addr_from_device as define for kernels #9620

Open abhullar-tt opened 2 months ago

abhullar-tt commented 2 months ago

with IOMMU enabled, this value is generated at runtime and unique per device

abhullar-tt commented 1 month ago

@pgkeller get_pcie_base_addr_from_device is determined at runtime when IOMMU is enabled.

We use this value to compute NOC_XY_PCIE_ENCODING.

We pass this value to device land via NOC_PCIE_ADDR_BASE but this isn't seen by all processors

Related to #9813