iree-org / iree

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

[GPU][NFC] Move gpu pipeline transformations out of iree_gpu dialect #19248

Open Groverkss opened 22 hours ago

Groverkss commented 22 hours ago

This patch moves gpu pipeline specific passes out of iree_gpu dialect to Codegen/Common/GPU. The idea is that passes that are specific to gpu pipelines should live in Codegen/Common/GPU, while passes specific to iree_gpu operations should live in Codegen/Dialect/GPU. This allows us to make iree_gpu dialect not too bloated and depend on other dialects.