Commit Graph

57 Commits

Author SHA1 Message Date
NiccoloN 85e2750d6c faster (and refactored) DCP analysis
Validate Operations / validate-operations (push) Successful in 2h16m17s
2026-04-21 12:33:44 +02:00
ilgeco f4c6da8f10 Pim backend
Validate Operations / validate-operations (push) Has been cancelled
2026-04-21 11:12:44 +02:00
NiccoloN a903e30859 add 2 unittests
Validate Operations / validate-operations (push) Failing after 8m9s
fix bugs
2026-04-16 18:01:38 +02:00
ilgeco 933e138012 Topological initialization
Validate Operations / validate-operations (push) Failing after 27m23s
2026-04-16 16:50:49 +02:00
NiccoloN ae93d1c563 faster pim host constant folding
Validate Operations / validate-operations (push) Successful in 17m33s
2026-04-14 19:58:26 +02:00
NiccoloN 95ae93e07d promote weight inputs to actual weights in spat compute nodes
Validate Operations / validate-operations (push) Successful in 17m36s
2026-04-14 19:44:35 +02:00
ilgeco 2151e322ca Fix trivialmerge considering also weight attributes
Validate Operations / validate-operations (push) Successful in 2h8m9s
2026-04-14 16:45:14 +02:00
NiccoloN a7dee5b840 fix mergeTriviallyConnectedComputes
Validate Operations / validate-operations (push) Successful in 16m48s
2026-04-14 15:13:45 +02:00
NiccoloN 77fe293062 Merge branch 'main' of chef.heaplab.deib.polimi.it:nnicolosi/Raptor 2026-04-14 13:45:10 +02:00
ilgeco 2a701be292 Merge branch 'main' of chef.heaplab.deib.polimi.it:nnicolosi/Raptor into main
Validate Operations / validate-operations (push) Failing after 21m43s
2026-04-14 13:44:22 +02:00
ilgeco 6727785ab7 Not functioning merging 2026-04-14 13:43:30 +02:00
NiccoloN eade488d13 fix missed failing tests for channels
moderate refactor
2026-04-14 12:26:41 +02:00
NiccoloN 30ee9640d4 remove spatial bufferization logic (didn't make much sense) and move channel lowering to SpatialToPim 2026-04-14 11:55:19 +02:00
NiccoloN 368e340a40 minor refactor 2026-04-14 11:21:11 +02:00
NiccoloN e866ec6f87 convolution uses crossbar size better 2026-04-14 11:06:35 +02:00
NiccoloN 0ac163e4b7 keep pimsim-nn happy
Validate Operations / validate-operations (push) Successful in 16m54s
2026-04-10 19:02:20 +02:00
NiccoloN f054e66ed0 reduce spatial compile-times in convolutions using a scf.for instead of materializing a huge number of instructions
Validate Operations / validate-operations (push) Has been cancelled
2026-04-10 18:50:25 +02:00
NiccoloN 9e0d31af50 automatic code-reformat
Validate Operations / validate-operations (push) Successful in 18m22s
2026-04-09 14:27:23 +02:00
NiccoloN 1a0192d1f9 add support for softmax, resize, split, gather
Validate Operations / validate-operations (push) Has been cancelled
2026-04-09 14:25:00 +02:00
ilgeco b468858d25 MergeNode ensure that channel must have 2 users
Validate Operations / validate-operations (push) Successful in 16m7s
2026-04-09 10:41:49 +02:00
ilgeco ece24867e4 Remap weight within cloned operation
Validate Operations / validate-operations (push) Successful in 16m20s
2026-04-09 10:24:03 +02:00
ilgeco 3f870fb74b MergeDCP pass all test
Validate Operations / validate-operations (push) Successful in 2h55m12s
2026-04-08 20:39:01 +02:00
ilgeco 813368f625 Qualche TODO 2026-04-08 20:37:49 +02:00
ilgeco ca56e3d4f1 Add DCP alghoritm, partial working test 2026-04-07 22:05:39 +02:00
NiccoloN 3625edc80a add better createSpatCompute helper 2026-03-30 16:14:26 +02:00
NiccoloN 39830be888 add support for operations: reduceMean, add, mul, div, sigmoid
Validate Operations / validate-operations (push) Failing after 51m52s
2026-03-30 15:41:12 +02:00
NiccoloN 5e7114f517 minor fix
Validate Operations / validate-operations (push) Successful in 59m35s
2026-03-30 14:13:12 +02:00
NiccoloN 7a060f455b minor fix
Validate Operations / validate-operations (push) Failing after 52m44s
2026-03-25 14:04:19 +01:00
NiccoloN 742df111e3 add relu lowering
Validate Operations / validate-operations (push) Failing after 2h50m56s
add relu validation
add spatial compute helper
minor refactors
2026-03-25 11:03:03 +01:00
NiccoloN 4e19650b80 minor fix to MessagePass.cpp 2026-03-25 10:11:36 +01:00
NiccoloN a4f3eed3e0 reformat code 2026-03-23 21:25:51 +01:00
NiccoloN 93e20c1dfc standardize spatial and pim dialects
remove old unused stuff
2026-03-23 21:21:31 +01:00
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
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
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)
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