Open pgkeller opened 1 month ago
Hello - thanks for creating issue. From talking to Paul, was suggested I donate some API requests here.
tt-mlir compiler would like to request the/an API to export up the "Supported Data Formats" and "Supported Tile Sizes" for the device (https://github.com/tenstorrent/tt-mlir/issues/433) please. Something like (feel free to adjust):
In addition, tt-mlir would like to request the following device specific params be queryable (https://github.com/tenstorrent/tt-mlir/issues/300), somehow (maybe also a list like METAL_SUPPORTED with a single value, or something else) so we can remove hardcoded values.
We also need:
We also need:
- L1_UNRESERVED_BASE
- ERISC_L1_UNRESERVED_BASE
- DRAM_UNRESERVED_BASE
curious: why? (note: these are all moving into the hal and will go away ~soon as consts, could still be queryable though)
We also need:
- L1_UNRESERVED_BASE
- ERISC_L1_UNRESERVED_BASE
- DRAM_UNRESERVED_BASE
curious: why? (note: these are all moving into the hal and will go away ~soon as consts, could still be queryable though)
We are experimenting in the compiler with autogenerated kernels and going direct to metal which means the compiler will have its own allocator for CBs & tensors. It'll need to know what address range is legal to use.
We need a new API to query runtime/device limits:
First task is to enumerate the list of limits and their types (are all integers?) and then decide if we need more than one API. A start is:
There may also be limits that will require a parameter, eg, memory by core type. Todo to fully specify.