Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
silee2 committed Nov 17, 2023
2 parents f246bfd + 2f50250 commit d892450
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ CMake so that it installs `FileCheck` to the chosen installation prefix.
Additonally, `lit` has to be installed separately as it does not install with
the rest of LLVM.

Make sure your LLVM install is built from the git commit sha as stated in
Make sure the installed LLVM is built from the git commit sha as stated in
`build_tools/llvm_version.txt`.
And has all LLVM patches in `build_tools/patches` applied.
```sh
cmake -G Ninja -B build -S . \
-DMLIR_DIR=<PATH_TO_DIRECTORY_WITH_MLIRConfig.cmake> \
Expand All @@ -115,8 +116,9 @@ cmake --build build --target check-imex
### Option 3: Build IMEX with LLVM build tree (out-of-tree)
This is similar to option 2. Instead of installed LLVM, LLVM build tree is used.

Make sure your LLVM install is built from the git commit sha as stated in
Make sure before building LLVM, checkout the git commit sha as stated in
`build_tools/llvm_version.txt`.
And apply all LLVM patches in `build_tools/patches`.
```sh
cmake -G Ninja -B build -S . \
-DMLIR_DIR=<PATH_TO_DIRECTORY_WITH_MLIRConfig.cmake> \
Expand Down
2 changes: 1 addition & 1 deletion lib/Conversion/XeGPUToSPIRV/XeGPUToSPIRV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ class LoadStorePrefetchNdToRawSend : public OpConversionPattern<OpType> {
// the base/surfaceInfo/blockInfo are staticly from the tensor desc
// while the offsetX/Y are dynamicly udpated
auto insertPoint = rewriter.saveInsertionPoint();
CreateNdDescOp createDescOp = *findDescOp(op.template getTensorDesc());
CreateNdDescOp createDescOp = *findDescOp(op.getTensorDesc());
rewriter.setInsertionPointAfter(createDescOp);
auto v8i32 = VectorType::get(8, i32Type);
auto v4i64 = VectorType::get(4, i64Type);
Expand Down

0 comments on commit d892450

Please sign in to comment.