Commit Graph

25 Commits

Author SHA1 Message Date
NiccoloN
da01e6d697 refactor Pim passes layout 2026-03-23 20:14:59 +01:00
NiccoloN
f869925b64 remove old unused stuff 2026-03-23 20:00:09 +01:00
NiccoloN
661170a9aa reimplement pool lowering
add pool validation
align PIM ops/codegen/parser with the ISA
move constant materialization to MLIR
rename the PIM verification/materialization passes
better folded-constant handling
2026-03-23 19:14:50 +01:00
NiccoloN
461bdd808d replace helper-op cleanup with canonicalization
clean up PIM pattern naming
remove unused ValueMap.hpp
2026-03-23 17:13:54 +01:00
NiccoloN
50c545539b clean up PIM CMake
update README.md
2026-03-23 16:39:14 +01:00
NiccoloN
11916a2595 refactor Pim constant folding pass
share contiguous address resolution in PimCommon
group patterns in subdir for each pass with pattern files
2026-03-23 15:36:58 +01:00
NiccoloN
670d6ce94f extend operation support for conv and gemm
add more tests in validation
2026-03-23 14:46:08 +01:00
NiccoloN
568529ea5f fix batched conv
Some checks failed
Validate Operations / config (push) Successful in 1m3s
Validate Operations / build-mlir-cache (push) Successful in 3m40s
Validate Operations / validate (push) Failing after 2m37s
2026-03-20 22:00:46 +01:00
NiccoloN
ca2e1645bb simple convolutions now work :) 2026-03-20 21:17:02 +01:00
NiccoloN
6933804003 constant fold linalg.map (generated from tensor.pad for padding)
refactor pim helpers in PimCommon
2026-03-20 20:51:20 +01:00
NiccoloN
dbe646ac0d fix gemm segfault
Some checks failed
Validate Operations / config (push) Successful in 1m27s
Validate Operations / build-mlir-cache (push) Successful in 2h0m37s
Validate Operations / validate (push) Failing after 3m41s
print exit signals on validation failure
2026-03-20 14:00:16 +01:00
NiccoloN
bb6dcd38a3 replace deprecated "rewriter.create()" pattern
refactor PIM to Pim everywhere except for the accelerator name
2026-03-20 13:30:53 +01:00
NiccoloN
db3f52a647 conv now lowers correctly down to bufferized pim 2026-03-20 12:55:09 +01:00
NiccoloN
6e1de865bb add constant folding and verification pass for pim host operations
better validation scripts output
big refactors
2026-03-20 12:08:12 +01:00
NiccoloN
4e50e056e3 replace old convolution support in spatial (WIP)
Some checks failed
Validate Operations / config (push) Successful in 1m46s
Validate Operations / build-mlir-cache (push) Successful in 3m25s
Validate Operations / validate (push) Failing after 2m42s
2026-03-13 17:46:10 +01:00
NiccoloN
1348bb1c97 generic gemm now works :) 2026-03-06 18:23:27 +01:00
NiccoloN
8ee1e5ece8 implement mem copy codgen (lmv)
add more gemv/gemm tests
refactor
2026-03-04 18:04:48 +01:00
NiccoloN
810e5e75f9 add .clang-format
reformat all src
2026-02-26 19:16:42 +01:00
NiccoloN
a2c31836ae refactor PimCodeGen 2026-02-26 19:13:54 +01:00
ilgeco
b26b5754d5 Fix all_of short circuit to trye with 0 users 2026-02-26 19:13:26 +01:00
NiccoloN
8bb5385961 add host core pim codegen 2026-02-26 17:53:25 +01:00
NiccoloN
a490e41916 fix dense attributes with single element writing to memory 2026-02-25 17:55:44 +01:00
NiccoloN
ae6e815c7b fix output paths
add gemm test
2026-02-25 17:24:31 +01:00
NiccoloN
5ca8916f4f add automatic patches to onnx-mlir with CMakeLists.txt 2026-02-25 13:00:55 +01:00
NiccoloN
a6e928bdd7 add PIM accelerator 2026-02-24 15:09:18 +01:00