| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[MLIR][DLTI][Transform] Introduce transform.dlti.query - 2nd attempt (#102652) This transform op makes it possible to query attributes associated to IR by means of the DLTI dialect. The op takes both a key and a target op to perform the query at. Facility functions automatically find the closest ancestor op which defines the appropriate DLTI interface or has an attribute implementing a DLTI interface. By default the lookup uses the data layout interfaces of DLTI. If the optional device parameter is provided, the lookup happens with respect to the interfaces for TargetSystemSpec and TargetDeviceSpec. This op uses new free-standing functions in the dlti namespace to not only look up specifications via the DataLayoutSpecOpInterface and on ModuleOps but also on any ancestor op that has an appropriate DLTI attribute. | 1 年前 | |
[MLIR][DLTI] Enable types as keys in DLTI-query utils (#105995) Enable support for query functions - including transform.dlti.query - to take types as keys. As the data layout specific attributes already supported types as keys, this change enables querying such attributes in the expected way. | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 |