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
@@ -798,9 +800,6 @@ struct ConvertLayoutOpUsingLinearLayoutsConversion
798800 // TODO(jlebar): Implement me.
799801 return failure ();
800802 }
801-
802- private:
803- const triton::intel::TargetInfo &targetInfo;
804803};
805804
806805} // namespace
You can’t perform that action at this time.
0 commit comments