[Mlir-commits] [mlir] [MLIR][XeGPU] Updates XeGPU TensorDescAttr and Refine Gather/Scatter definition. (PR #109144)

LLVM Continuous Integration llvmlistbot at llvm.org
Mon Sep 23 07:05:38 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 5 "build-check-mlir-build-only".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/4060

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
26.613 [590/16/4376] Creating library symlink lib/libLLVMPasses.so
26.665 [589/16/4377] Linking CXX shared library lib/libMLIRArmSMEDialect.so.20.0git
26.674 [588/16/4378] Creating library symlink lib/libMLIRArmSMEDialect.so
26.743 [587/16/4379] Linking CXX shared library lib/libMLIRGPUToVulkanTransforms.so.20.0git
26.822 [586/16/4380] Linking CXX shared library lib/libMLIRArithToArmSME.so.20.0git
26.826 [585/16/4381] Linking CXX shared library lib/libLLVMOrcJIT.so.20.0git
26.831 [584/16/4382] Creating library symlink lib/libMLIRArithToArmSME.so
26.834 [583/16/4383] Creating library symlink lib/libLLVMOrcJIT.so
26.839 [582/16/4384] Creating library symlink lib/libMLIRGPUToVulkanTransforms.so
26.851 [581/16/4385] Building CXX object tools/mlir/lib/Conversion/VectorToXeGPU/CMakeFiles/obj.MLIRVectorToXeGPU.dir/VectorToXeGPU.cpp.o
FAILED: tools/mlir/lib/Conversion/VectorToXeGPU/CMakeFiles/obj.MLIRVectorToXeGPU.dir/VectorToXeGPU.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/tools/mlir/lib/Conversion/VectorToXeGPU -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/VectorToXeGPU -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/include -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/llvm/include -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/include -I/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/tools/mlir/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/mlir/lib/Conversion/VectorToXeGPU/CMakeFiles/obj.MLIRVectorToXeGPU.dir/VectorToXeGPU.cpp.o -MF tools/mlir/lib/Conversion/VectorToXeGPU/CMakeFiles/obj.MLIRVectorToXeGPU.dir/VectorToXeGPU.cpp.o.d -o tools/mlir/lib/Conversion/VectorToXeGPU/CMakeFiles/obj.MLIRVectorToXeGPU.dir/VectorToXeGPU.cpp.o -c /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:172:16: error: no member named 'MemoryScope' in namespace 'mlir::xegpu'
        xegpu::MemoryScope::Global,
        ~~~~~~~^
/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:217:57: error: no member named 'MemoryScope' in namespace 'mlir::xegpu'
        /*scattered=*/false, /*array_length=*/1, xegpu::MemoryScope::Global,
                                                 ~~~~~~~^
2 errors generated.
26.889 [581/15/4386] Linking CXX shared library lib/libMLIRArmSMEToSCF.so.20.0git
26.936 [581/14/4387] Linking CXX shared library lib/libLLVMOrcDebugging.so.20.0git
26.960 [581/13/4388] Linking CXX shared library lib/libMLIRLLVMCommonConversion.so.20.0git
28.552 [581/12/4389] Building CXX object tools/mlir/lib/Dialect/XeGPU/Transforms/CMakeFiles/obj.MLIRXeGPUTransforms.dir/XeGPUFoldAliasOps.cpp.o
32.665 [581/11/4390] Building CXX object tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUDialect.cpp.o
33.125 [581/10/4391] Building CXX object tools/mlir/lib/Dialect/XeGPU/IR/CMakeFiles/obj.MLIRXeGPUDialect.dir/XeGPUOps.cpp.o
34.708 [581/9/4392] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
54.289 [581/8/4393] Building CXX object tools/mlir/unittests/Target/LLVM/CMakeFiles/MLIRTargetLLVMTests.dir/SerializeROCDLTarget.cpp.o
54.293 [581/7/4394] Building CXX object tools/mlir/tools/mlir-lsp-server/CMakeFiles/mlir-lsp-server.dir/mlir-lsp-server.cpp.o
54.471 [581/6/4395] Building CXX object tools/mlir/tools/mlir-query/CMakeFiles/mlir-query.dir/mlir-query.cpp.o
55.872 [581/5/4396] Building CXX object tools/mlir/unittests/Target/LLVM/CMakeFiles/MLIRTargetLLVMTests.dir/SerializeNVVMTarget.cpp.o
59.297 [581/4/4397] Building CXX object tools/mlir/unittests/ExecutionEngine/CMakeFiles/MLIRExecutionEngineTests.dir/Invoke.cpp.o
59.629 [581/3/4398] Building CXX object tools/mlir/lib/CAPI/RegisterEverything/CMakeFiles/obj.MLIRCAPIRegisterEverything.dir/RegisterEverything.cpp.o
59.944 [581/2/4399] Building CXX object tools/mlir/examples/transform-opt/CMakeFiles/mlir-transform-opt.dir/mlir-transform-opt.cpp.o
60.579 [581/1/4400] Building CXX object tools/mlir/tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/109144


More information about the Mlir-commits mailing list