File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
include/Dialect/TritonIntelGPU/IR
lib/Dialect/TritonIntelGPU/IR Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ include "triton/Dialect/TritonGPU/IR/TritonGPUAttrDefs.td"
10
10
//===----------------------------------------------------------------------===//
11
11
12
12
def DpasEncodingAttr : DistributedEncoding<"DpasEncoding", "intel_dpas_encoding",
13
- [MmaEncodingTrait], TritonIntelGPU_Dialect> {
13
+ [MmaEncodingTrait, DeclareLayoutEncodingMethods ], TritonIntelGPU_Dialect> {
14
14
let mnemonic = "dpas";
15
15
16
16
let description = [{
@@ -254,7 +254,7 @@ The semantic of this `tt.dot` includes GEMM tiling configuration as:
254
254
//===----------------------------------------------------------------------===//
255
255
256
256
def WarpEncodingAttr : DistributedEncoding<"WarpEncoding", "intel_warp_encoding",
257
- [], TritonIntelGPU_Dialect> {
257
+ [DeclareLayoutEncodingMethods ], TritonIntelGPU_Dialect> {
258
258
let mnemonic = "warp";
259
259
260
260
let description = [{
Original file line number Diff line number Diff line change @@ -635,18 +635,6 @@ SmallVector<unsigned> Subgroup2DBlockEncodingAttr::getRepOrder() const {
635
635
return getMatrixOrder (getRank (), /* rowMajor*/ true );
636
636
}
637
637
638
- SmallVector<unsigned > Subgroup2DBlockEncodingAttr::getCTAsPerCGA () const {
639
- return SmallVector<unsigned >(getCTALayout ().getCTAsPerCGA ());
640
- }
641
-
642
- SmallVector<unsigned > Subgroup2DBlockEncodingAttr::getCTAOrder () const {
643
- return SmallVector<unsigned >(getCTALayout ().getCTAOrder ());
644
- }
645
-
646
- SmallVector<unsigned > Subgroup2DBlockEncodingAttr::getCTASplitNum () const {
647
- return SmallVector<unsigned >(getCTALayout ().getCTASplitNum ());
648
- }
649
-
650
638
SmallVector<unsigned >
651
639
Subgroup2DBlockEncodingAttr::getRepOrderForOperand (int opIdx) const {
652
640
return getOrderForDotOperand (opIdx, getRank (), /* kContig*/ true );
You can’t perform that action at this time.
0 commit comments