Commit Graph

149 Commits

Author SHA1 Message Date
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 e687cf37f7 better ignore 2026-04-10 18:59:56 +02:00
ilgeco ab8aff5bac Merge branch 'main' of chef.heaplab.deib.polimi.it:nnicolosi/Raptor into main
Validate Operations / validate-operations (push) Has been cancelled
2026-04-10 18:55:26 +02:00
ilgeco bf1c34bb5c better ignore? 2026-04-10 18:55:21 +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
ilgeco f3a36e9d43 Merge branch 'main' of chef.heaplab.deib.polimi.it:nnicolosi/Raptor into main
Validate Operations / validate-operations (push) Successful in 16m23s
2026-04-09 19:27:05 +02:00
ilgeco 43727ffbbe yolo first node 2026-04-09 19:27:01 +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
NiccoloN 86916a8fa0 add softmax support to pim-simulator 2026-04-09 14:19:16 +02:00
NiccoloN 6f718f5552 add validation tests for softmax, resize, split, gather 2026-04-09 14:18:41 +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 e77bd2cd23 Bug fix send and recive in simulator 2026-04-08 20:37:25 +02:00
ilgeco ca56e3d4f1 Add DCP alghoritm, partial working test 2026-04-07 22:05:39 +02:00
NiccoloN ef4743c986 remove unused actions
Validate Operations / validate-operations (push) Successful in 15m53s
2026-03-30 18:00:32 +02:00
NiccoloN 42f8aee57f use ccache for raptor build
Validate Operations / validate-operations (push) Successful in 57m44s
2026-03-30 17:43:22 +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 ed359730f1 fix CI (hopefully)
Validate Operations / validate-operations (push) Successful in 1h5m22s
2026-03-24 10:38:41 +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 0478d979ff minor CI fix
Validate Operations / validate-operations (push) Failing after 2h8m44s
2026-03-23 20:45:10 +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 f2d593f749 minor CI fixes 2026-03-23 19:43:50 +01:00
NiccoloN a1b29dffe0 fix CI (hopefully)
Validate Operations / validate-operations (push) Failing after 1h2m33s
2026-03-23 19:27:53 +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 2676f2c7ef fix CI (hopefully)
Validate Operations / config (push) Successful in 1m7s
Validate Operations / build-mlir-cache (push) Successful in 2h1m3s
Validate Operations / validate (push) Failing after 56m7s
2026-03-23 14:30:02 +01:00
NiccoloN 45342190bb fix CI (hopefully)
Validate Operations / config (push) Successful in 1m13s
Validate Operations / build-mlir-cache (push) Successful in 3m5s
Validate Operations / validate (push) Failing after 3m5s
2026-03-23 13:24:00 +01:00
NiccoloN f629e0d99f fix CI (hopefully)
Validate Operations / config (push) Successful in 1m12s
Validate Operations / build-mlir-cache (push) Successful in 3m13s
Validate Operations / validate (push) Failing after 12m29s
2026-03-23 11:38:54 +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