From 0b443ce15279d240de1ca4782843bf70eea90c60 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Sat, 2 Nov 2024 23:32:13 -0700 Subject: [PATCH] [AMD] Add missing dependency to TritonAMDGPUIR (#5053) TritonAMDGPUTransforms now depends on it. --- third_party/amd/include/Dialect/TritonAMDGPU/IR/Dialect.h | 1 + third_party/amd/lib/TritonAMDGPUTransforms/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/third_party/amd/include/Dialect/TritonAMDGPU/IR/Dialect.h b/third_party/amd/include/Dialect/TritonAMDGPU/IR/Dialect.h index a7395f86dc50..6dbb0435e20c 100644 --- a/third_party/amd/include/Dialect/TritonAMDGPU/IR/Dialect.h +++ b/third_party/amd/include/Dialect/TritonAMDGPU/IR/Dialect.h @@ -30,6 +30,7 @@ #include "mlir/IR/Dialect.h" #include "mlir/IR/PatternMatch.h" #include "triton/Dialect/Triton/IR/Traits.h" + // clang-format off #include "amd/include/Dialect/TritonAMDGPU/IR/Dialect.h.inc" // clang-format on diff --git a/third_party/amd/lib/TritonAMDGPUTransforms/CMakeLists.txt b/third_party/amd/lib/TritonAMDGPUTransforms/CMakeLists.txt index 7da8083cfb92..c3a69a5f9a2a 100644 --- a/third_party/amd/lib/TritonAMDGPUTransforms/CMakeLists.txt +++ b/third_party/amd/lib/TritonAMDGPUTransforms/CMakeLists.txt @@ -8,6 +8,7 @@ add_triton_library(TritonAMDGPUTransforms MfmaGroup.cpp DEPENDS + TritonAMDGPUIR TritonAMDGPUTransformsIncGen TritonGPUIR )