Skip to content

Commit 95aacc5

Browse files
akuegeltensorflower-gardener
authored andcommitted
Try to avoid namespace ambiguity (mlir::detail vs mlir::triton::detail).
After the last LLVM integrate, we hit a compile error on Windows where it fails to distinguish between something in mlir::detail namespace and mlir::triton::detail namespace. This error is triggered when compiling Utility.cpp. So as a fix, attempt to avoid "using namespace triton" inside namespace mlir. PiperOrigin-RevId: 882565657
1 parent 606f352 commit 95aacc5

2 files changed

Lines changed: 529 additions & 0 deletions

File tree

‎third_party/xla/third_party/triton/common/series.bzl‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ common_patch_list = [
3030
"//third_party/triton:common/nvdisasm_bin_path.patch",
3131
"//third_party/triton:common/llvm_cl880654778.patch",
3232
"//third_party/triton:common/llvm_cl881791206.patch",
33+
"//third_party/triton:common/triton_namespace.patch",
3334
# Add new patches just above this line
3435
]

0 commit comments

Comments
 (0)