Document IREE's views on type support #5223
Labels
compiler/dialects
Relating to the IREE compiler dialects (flow, hal, vm)
discussion
Proposals, open-ended questions, etc
documentation
✏️ Improvements or additions to documentation
enhancement ➕
New feature or request
runtime
Relating to the IREE runtime library
(In general, I think it would be useful to document more parts of IREE's compiler and runtime architecture)
IREE aims to support a variety of frontends and backends, and uses a soup of MLIR dialects and passes to connect between them. Each layer of this aggregate system has its own views on types. Sometimes these views are explicit, such as through a spec and set of extensions in Vulkan. Sometimes they are based on established code patterns that make sense at a specific design layer.
Type support for
float16
,boolean
,int64
,int8
, etc. has come up across several PRs and issues[1], so I think it would be useful if we had a central place (e.g. a markdown file, a page on our website, this issue?) that lays out our views on how types are / should be handled at the various layers we interact with.Some points I'd like to see covered:
index
types vs specific bit depthsboolean
types efficiently down through codegen to targets with no native support for lower bit depth integers[1] For example: #3102, #3066, #958, #3536, #2574, #5240
The text was updated successfully, but these errors were encountered: