Skip to content

Commit 200dc70

Browse files
Fix build failures from b3b9931
Signed-off-by: Whitney Tsang <[email protected]>
1 parent 0207e32 commit 200dc70

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/TargetInfo.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,6 @@ void TargetInfo::storeDShared(RewriterBase &rewriter, Location loc, Value ptr,
4949
});
5050
}
5151

52-
bool TargetInfo::canUseStMatrix(RankedTensorType tensorTy,
53-
ArrayRef<unsigned> repShape,
54-
ArrayRef<unsigned> paddedRepShape,
55-
ArrayRef<unsigned> order,
56-
int swizzleByteSize) const {
57-
return false;
58-
}
59-
60-
void TargetInfo::storeMatrixShared(RewriterBase &rewriter, Location loc,
61-
Value ptr, Value val) const {
62-
llvm::report_fatal_error("IntelGPU does not support stmatrix");
63-
}
64-
6552
Value TargetInfo::loadDShared(RewriterBase &rewriter, Location loc, Value ptr,
6653
std::optional<Value> ctaId, Type elemTy,
6754
Value pred, Operation *localLoadOp) const {

third_party/intel/lib/TritonIntelGPUToLLVM/TargetInfo.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ class TargetInfo : public mlir::triton::TargetInfoBase {
3131
Value loadDShared(RewriterBase &rewriter, Location loc, Value ptr,
3232
std::optional<Value> ctaId, Type elemTy, Value pred,
3333
Operation *localLoadOp = nullptr) const override;
34-
bool canUseStMatrix(RankedTensorType tensorTy, ArrayRef<unsigned> repShape,
35-
ArrayRef<unsigned> paddedRepShape,
36-
ArrayRef<unsigned> order,
37-
int swizzleByteSize) const override;
38-
39-
void storeMatrixShared(RewriterBase &rewriter, Location loc, Value ptr,
40-
Value val) const override;
4134

4235
Value shuffleXor(RewriterBase &rewriter, Location loc, Value val,
4336
int i) const override;

0 commit comments

Comments
 (0)