File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
third_party/intel/lib/TritonIntelGPUToLLVM Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -436,11 +436,13 @@ struct ConvertLayoutOpUsingLinearLayoutsConversion
436436 : public ConvertOpToLLVMPattern<ConvertLayoutOp> {
437437 constexpr static unsigned minSubGroupTransposeWidth = 8 ;
438438
439+ const TargetInfoBase &targetInfo;
440+
439441 // Set benefit to 2 so that this pattern applies before other convert-layout
440442 // conversions. TODO(jlebar): Eventually we want this to be the only pattern.
441- ConvertLayoutOpUsingLinearLayoutsConversion (
442- LLVMTypeConverter &typeConverter ,
443- const triton::intel::TargetInfo &targetInfo, PatternBenefit benefit = 2 )
443+ ConvertLayoutOpUsingLinearLayoutsConversion (LLVMTypeConverter &typeConverter,
444+ const TargetInfoBase &targetInfo ,
445+ PatternBenefit benefit = 2 )
444446 : ConvertOpToLLVMPattern(typeConverter, benefit), targetInfo(targetInfo) {
445447 }
446448
@@ -958,9 +960,6 @@ struct ConvertLayoutOpUsingLinearLayoutsConversion
958960 // TODO(jlebar): Implement me.
959961 return failure ();
960962 }
961-
962- private:
963- const triton::intel::TargetInfo &targetInfo;
964963};
965964
966965} // namespace
You can’t perform that action at this time.
0 commit comments