iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.
http://iree.dev/
Apache License 2.0
2.84k stars 611 forks source link

Support element types that are not a power of two bits (e.g. `i6`). #17178

Open bjacob opened 6 months ago

bjacob commented 6 months ago

I know this is vague and not super actionable, but I just need something to reference in TODO comments where code may need to be revisited at that time.

ScottTodd commented 6 months ago

https://github.com/iree-org/iree/issues/16250 maybe use this?

bjacob commented 6 months ago

I saw it but it's different in two ways.

  1. It's about < 8 bit as opposed to (any non-power-of-two) bits, so for example #16250 is concerned with i4 while the present issue isn't, while the present issue is concerned with a hypothetical i24 while #16250 isn't.
  2. It's about runtime and host code specifically.