[TLE] Add alias support for tle.gpu.alloc to enable shared memory aliasing - #826
[TLE] Add alias support for tle.gpu.alloc to enable shared memory aliasing#826henghengxiedaima wants to merge 12 commits into
Conversation
|
Thank you for adding shared-memory alias support to
Thank you! |
There was a problem hiding this comment.
The test file cannot be placed here.
| #include "triton/Analysis/Utility.h" | ||
| #include "triton/Conversion/MLIRTypes.h" | ||
| #include "triton/Dialect/Triton/IR/Dialect.h" | ||
| #include "tle/dialect/include/IR/Dialect.h" |
cb524e1 to
4d7ed55
Compare
…ranslate comments - Wrap TLE #include with #ifdef __TLE__ in AccelerateMatmul.cpp and Prefetch.cpp - Guard tle::MemDescAliasOp references with #ifdef __TLE__ in Utility.cpp - Move test_alias_e2e.py to python/test/tle/integration/ - Replace Chinese comments with English in the test file
4d7ed55 to
15e7ee2
Compare
|
Thanks for the review! All three items have been addressed — please take another look. |
|
Done. Wrapped the tle::MemDescAliasOpreference in#ifdef TLE(and the same forMemDescWGMMAViewOp in OptimizeDotOperands); the TritonGPUToLLVM.cpp one was already guarded. |
PR Description
Overview
Add shared-memory alias support to tle.gpu.alloc, allowing multiple descriptors to share the same underlying physical shared memory allocation without allocating new memory.
API
New parameters:
Lowering Path
Validation Rules & Limitations
Test