Skip to content

Commit 47c730b

Browse files
authored
Add missing include header (triton-lang#5721)
https://github.com/triton-lang/triton/pull/5542/files introduced a dependency on an unordered_map without requiring the unordered_map include path. This works on some systems currently if other headers include unordered map, but fails on others.
1 parent d23020f commit 47c730b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/triton/Dialect/TritonGPU/IR/Dialect.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include "triton/Dialect/TritonGPU/IR/Attributes.h"
1212
#include "triton/Dialect/TritonGPU/IR/Types.h"
1313

14+
#include <unordered_map>
15+
1416
// LinearLayoutCache Utils
1517
using CacheKey =
1618
std::tuple<std::vector<int64_t>, mlir::Attribute, std::optional<int32_t>>;

0 commit comments

Comments
 (0)