Avoiding absolute imports allows the code to be relocatable (which is used for out of tree integrations).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D107617
[mlir][python] Make a number of imports relative. ClosedPublic Authored by stellaraccident on Aug 5 2021, 9:10 PM.
Details
Summary Avoiding absolute imports allows the code to be relocatable (which is used for out of tree integrations).
Diff Detail
Event TimelineHerald added subscribers: wrengr, Chia-hungDuan, shabalin and 19 others. · View Herald TranscriptAug 5 2021, 9:10 PM This revision is now accepted and ready to land.Aug 5 2021, 11:34 PM Closed by commit rG835cbfa8cf63: [mlir][python] Make a number of imports relative. (authored by stellaraccident). · Explain WhyAug 6 2021, 12:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 364710 mlir/python/mlir/dialects/linalg/opdsl/lang/affine.py
mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
mlir/python/mlir/dialects/linalg/opdsl/lang/config.py
mlir/python/mlir/dialects/linalg/opdsl/lang/dsl.py
mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
|