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.
1 parent bd694d9 commit 2694e3fCopy full SHA for 2694e3f
third_party/intel/lib/TritonIntelGPUToLLVM/LoadStoreOpToLLVM.cpp
@@ -1565,6 +1565,11 @@ struct LoadOpToBlockIOConversion
1565
LogicalResult
1566
matchAndRewrite(triton::LoadOp op, OpAdaptor adaptor,
1567
ConversionPatternRewriter &rewriter) const final {
1568
+ ModuleOp mod = op->getParentOfType<ModuleOp>();
1569
+ if (!mod->hasAttr(triton::gpu::intel::TritonIntelGPUDialect::
1570
+ getSupportSG2DBlockAttrName()))
1571
+ return failure();
1572
+
1573
if (!isLoadCandidate(op))
1574
return failure();
1575
0 commit comments