0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/mlir
Guillaume Wenzek b360a92f34
zml: rewrite simple transpose (#142)
Rewrite trivial transpose into reshapes.
Transpose over a 1-d axis are effectively no-op.
Normally the backend can detect this, but we observe that some backend
can get confused. So avoiding those extra transpose can help.

I also changed the default profiler size to 1_000_000 events because
above that the perfetto ui can't load the generated file anyway
History 2025-01-07 10:56:58 +01:00
..
dialects zml: emit func.call operations (#116) 2024-12-05 17:45:07 +01:00
BUILD.bazel zml: initial release 2024-09-17 11:11:18 +02:00
c.h zml: initial release 2024-09-17 11:11:18 +02:00
mlir.zig zml: rewrite simple transpose (#142) 2025-01-07 10:56:58 +01:00
mlirx.cc zml: initial release 2024-09-17 11:11:18 +02:00
mlirx.h zml: initial release 2024-09-17 11:11:18 +02:00