Skip to content

第4章(3):接口 | Inside Compiler #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fiking opened this issue Jun 29, 2024 · 0 comments
Open

第4章(3):接口 | Inside Compiler #59

fiking opened this issue Jun 29, 2024 · 0 comments

Comments

@fiking
Copy link
Collaborator

fiking commented Jun 29, 2024

https://inside-compiler.github.io/2024/06/15/mlir-interfaces/

在MLIR中使用方言封装操作、类型和属性,通过自定义方言,开发者实现不同抽象层次的语义。这对MLIR框架来说带来一个问题,分析和转换可能需要针对每个方言或者每个操作。而接口机制正是为了解决这一问题而提出的,它可以为一类方言或者操作提供统一的转换和分析接口,而不需要涉及到一个具体的方言和操作。 4.3.1方言接口方言接口通常适用于转换或分析,这些转换或分析希望对一组属性、操作或者类型进行通用操作(而

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant