We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RewriteStackPtr
1 parent c7eb9ea commit 9856962Copy full SHA for 9856962
third_party/intel/lib/TritonIntelGPUTransforms/RewriteStackPtr.cpp
@@ -25,14 +25,14 @@ struct TritonIntelGPURewriteStackPtrPass
25
void runOnOperation() override {
26
ModuleOp mod = getOperation();
27
MLIRContext *ctx = &getContext();
28
- ModuleAllocation allocation(mod);
29
LLVM::LLVMPointerType ptrTy =
30
ptr_ty(ctx, mlir::triton::TritonGEN::TritonGENMemorySpace::kWorkgroup);
31
32
auto globalSmem = mod.lookupSymbol<LLVM::GlobalOp>("global_smem");
33
if (!globalSmem) {
34
return;
35
}
+ CallGraph<Allocation> allocation(mod);
36
bool usePoison =
37
(mod->getAttrOfType<IntegerAttr>("ttg.shared").getInt() == 0);
38
0 commit comments