Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASPLOS] merge main into asplos #1170

Merged
merged 36 commits into from
Apr 4, 2024
Merged

[ASPLOS] merge main into asplos #1170

merged 36 commits into from
Apr 4, 2024

Conversation

jgmelber
Copy link
Collaborator

@jgmelber jgmelber commented Apr 4, 2024

No description provided.

jsetoain and others added 30 commits March 8, 2024 11:45
Signed-off-by: Abhishek Varma <[email protected]>
Co-authored-by: erwei-xilinx <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: AndraBisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
This deals with some issues that appear when you try to run the windows build of aie2xclbin. Some of these are workarounds for problems with the peano build on windows that ought to get removed later.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This allows semantical features such as type information, auto-completion, etc. to IDE and editors using LSP.
See mlir.llvm.org/docs/Tools/MLIRLSP for use case.

To be used for example with Emacs:

;; Enable MLIR mode
(require 'mlir-mode)
;; Prepare MLIR LSP mode
(load-file ".../llvm/mlir/utils/emacs/mlir-lsp-client.el")
(lsp-mlir-setup)
;; Think about customizing lsp-mlir-server-executable to use the server
;; with its own dialects.
; '(lsp-mlir-server-executable ".../mlir-aie/build/bin/aie-lsp-server")
;; Use lsp-mode in mlir-mode
(add-hook 'mlir-mode-hook 'lsp)
Starting with Linux 6.8 the format of the device returned by "xbutil examine"
is like "[0000:66:00.1] : RyzenAI-npu1"
misc test fixes, including some failing when chess is not the default compiler
…plication (#1139)

* Add mul/srs/broadcast/concat/ext/undef intrinsics to XLLVM. The op names would need a better naming convention since more intrinsics are going to be added to the XLLVM.
* Add aievec-to-llvm conversion pattern for the new intrinsics.
* Add a FoldAIECastOps pattern in AIEVecToLLVM pass. This pattern folds all the aievec.cast ops that are introduced in the vector->aievec pass. Taking this shortcut, we do not need to conditionally introduce aievec.cast ops in the vector->aievec conversion patterns.
* Add op folder to aievec.cast op, and remove the FoldAIECastOps pattern originally introduced in the AIEVecOptimizations pass.
* Add i8xi8_mul_elem, i8xi8_mul_elem_2, i16xi16_mul_elem, i16xi16_mul_elem_2, bf16xbf16_mul_elem, bf16xbf16_mul_elem_2 e2e tests for the to-llvm flow. This includes updating the testbench.cc and the test script. These tests, like other to-cpp tests, go through the simulator to verify the numeric correctness.
* Add aievec-to-llvm conversion tests for all the new XLLVM ops.
* Add target llvm translation tests.
My editor removed by itself also a lot of trailing spaces.
The --sysroot configuration was not enough to find C++ standard library and
runtime.
--sysroot=%VITIS_SYSROOT% has been replaced mostly with %VitisSysrootFlag%

Strangely, these tests may have been broken for almost 1 year now since
#422
which refactored the LIT configuration variables with
42d8076
@jgmelber jgmelber merged commit aef1490 into asplos Apr 4, 2024
54 checks passed
@jgmelber jgmelber deleted the asplos-main branch April 4, 2024 16:30
Copy link
Contributor

github-actions bot commented Apr 4, 2024

Coverage Report

Created: 2024-04-04 16:35

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
Totals- - - -
Generated by llvm-cov -- llvm version 14.0.0

fifield added a commit to fifield/mlir-aie that referenced this pull request Apr 9, 2024
Signed-off-by: Abhishek Varma <[email protected]>
Co-authored-by: Javier Setoain <[email protected]>
Co-authored-by: James Newling <[email protected]>
Co-authored-by: Maksim Levental <[email protected]>
Co-authored-by: Abhishek Varma <[email protected]>
Co-authored-by: erwei-xilinx <[email protected]>
Co-authored-by: Andra Bisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: AndraBisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: André Rösti <[email protected]>
Co-authored-by: erieaton-amd <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ronan Keryell <[email protected]>
Co-authored-by: Jeff Fifield <[email protected]>
Co-authored-by: James Lin <[email protected]>
fifield added a commit to fifield/mlir-aie that referenced this pull request Apr 9, 2024
Signed-off-by: Abhishek Varma <[email protected]>
Co-authored-by: Javier Setoain <[email protected]>
Co-authored-by: James Newling <[email protected]>
Co-authored-by: Maksim Levental <[email protected]>
Co-authored-by: Abhishek Varma <[email protected]>
Co-authored-by: erwei-xilinx <[email protected]>
Co-authored-by: Andra Bisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: AndraBisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: André Rösti <[email protected]>
Co-authored-by: erieaton-amd <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ronan Keryell <[email protected]>
Co-authored-by: Jeff Fifield <[email protected]>
Co-authored-by: James Lin <[email protected]>
fifield added a commit to fifield/mlir-aie that referenced this pull request Apr 9, 2024
Signed-off-by: Abhishek Varma <[email protected]>
Co-authored-by: Javier Setoain <[email protected]>
Co-authored-by: James Newling <[email protected]>
Co-authored-by: Maksim Levental <[email protected]>
Co-authored-by: Abhishek Varma <[email protected]>
Co-authored-by: erwei-xilinx <[email protected]>
Co-authored-by: Andra Bisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: AndraBisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: André Rösti <[email protected]>
Co-authored-by: erieaton-amd <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ronan Keryell <[email protected]>
Co-authored-by: Jeff Fifield <[email protected]>
Co-authored-by: James Lin <[email protected]>
fifield added a commit to fifield/mlir-aie that referenced this pull request Apr 9, 2024
Signed-off-by: Abhishek Varma <[email protected]>
Co-authored-by: Javier Setoain <[email protected]>
Co-authored-by: James Newling <[email protected]>
Co-authored-by: Maksim Levental <[email protected]>
Co-authored-by: Abhishek Varma <[email protected]>
Co-authored-by: erwei-xilinx <[email protected]>
Co-authored-by: Andra Bisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: AndraBisca <[email protected]>
Co-authored-by: Jack Lo <[email protected]>
Co-authored-by: André Rösti <[email protected]>
Co-authored-by: erieaton-amd <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ronan Keryell <[email protected]>
Co-authored-by: Jeff Fifield <[email protected]>
Co-authored-by: James Lin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.