tenstorrent / tt-metal

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

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

Open abhullar-tt opened 4 months ago

abhullar-tt commented 4 months ago

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

abhullar-tt commented 4 months 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