Skip to content

Commit f900001

Browse files
authored
Remove workaround in maybeDeduplicate for Intel DPAS layout. (#4603)
The issue #3380 cannot be reproduced on the latest main branch of Triton XPU. Remove workaround in `maybeDeduplicate` for Intel DPAS layout. Signed-off-by: Lu,Chengjun <[email protected]>
1 parent 244c285 commit f900001

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/triton/Conversion/TritonGPUToLLVM/ElementwiseOpToLLVMBase.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef TRITON_CONVERSION_TRITONGPU_TO_ELEMENTWISE_OP_H
22
#define TRITON_CONVERSION_TRITONGPU_TO_ELEMENTWISE_OP_H
33

4-
#include "intel/include/Dialect/TritonIntelGPU/IR/Attributes.h"
54
#include "mlir/Conversion/LLVMCommon/Pattern.h"
65
#include "mlir/Conversion/LLVMCommon/TypeConverter.h"
76
#include "mlir/Support/LLVM.h"
@@ -87,8 +86,7 @@ class ElementwiseOpConversionBase : public ConvertOpToLLVMPattern<SourceOp> {
8786
return resultVals;
8887
while (auto sliced = dyn_cast<SliceEncodingAttr>(baseEncoding))
8988
baseEncoding = sliced.getParent();
90-
if (isa<LinearEncodingAttr, DotOperandEncodingAttr,
91-
intel::DpasEncodingAttr>(baseEncoding)) {
89+
if (isa<LinearEncodingAttr, DotOperandEncodingAttr>(baseEncoding)) {
9290
// TODO: this logic seems incorrect for mma layout. Skip for now.
9391
// The following test crashes and some other miscompile:
9492
// test_core::test_fp8_dot_acc

0 commit comments

Comments
 (0)