Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Intel FMA implementation #3055

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion third_party/intel/lib/TritonIntelGPUToLLVM/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_triton_library(TritonIntelGPUToLLVM
ConvertLayoutOpToLLVM.cpp
DecomposeUnsupportedConversions.cpp
DotOpToLLVM/DPAS.cpp
DotOpToLLVM/FMA.cpp
DotOpToLLVM.cpp
ElementwiseOpToLLVM.cpp
HistogramOpToLLVM.cpp
Expand Down
7 changes: 1 addition & 6 deletions third_party/intel/lib/TritonIntelGPUToLLVM/DotOpToLLVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ using ::mlir::triton::gpu::NvidiaMmaEncodingAttr;
using ::mlir::triton::gpu::intel::DpasEncodingAttr;

namespace fma_details {
LogicalResult convertFMADot(triton::DotOp op, triton::DotOp::Adaptor adaptor,
TritonIntelGPUToLLVMTypeConverter *typeConverter,
ConversionPatternRewriter &rewriter);

LogicalResult convertDPAS(triton::DotOp op, triton::DotOp::Adaptor adaptor,
TritonIntelGPUToLLVMTypeConverter *typeConverter,
ConversionPatternRewriter &rewriter);
Expand Down Expand Up @@ -48,8 +44,7 @@ struct DotOpConversion : public ConvertTritonGPUOpToLLVMPattern<triton::DotOp> {

if (isa<BlockedEncodingAttr>(
cast<RankedTensorType>(D.getType()).getEncoding()))
return fma_details::convertFMADot(op, adaptor, getTypeConverter(),
rewriter);
return convertFMADot(op, adaptor, getTypeConverter(), rewriter);

llvm::report_fatal_error(
"Unsupported DotOp found when converting TritonGPU to LLVM.");
Expand Down
119 changes: 0 additions & 119 deletions third_party/intel/lib/TritonIntelGPUToLLVM/DotOpToLLVM/FMA.cpp

This file was deleted.

Loading