Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
364 commits
Select commit Hold shift + click to select a range
29aef1a
[IR] Support dynamic shape (#118)
chhzh123 Dec 3, 2023
8ea6ed0
[Primitive] Support composing predefined schedules (#119)
chhzh123 Dec 4, 2023
b295b5c
[Bugfix] Support schedule composition for `reuse_at` (#120)
zzzDavid Dec 4, 2023
f0873e9
[Example][Benchmark] Add PolyBench suite (#111)
zzzDavid Dec 9, 2023
a4f6af8
[IR] Support dynamic type creation (#122)
chhzh123 Dec 14, 2023
286899f
[lib][IR] Add packed systolic array implementation & Support dynamic …
chhzh123 Dec 15, 2023
d57c7c3
[lib][primitive] Add int8xint8 DSP packing to systolic library & Add …
chhzh123 Dec 21, 2023
3fa68ea
[Template] Support metaprogramming using allo.meta_if/meta_elif/meta_…
chhzh123 Dec 24, 2023
57e6f01
[Primitive] Add rewind option to .pipeline() (#127)
chhzh123 Dec 30, 2023
b18a8a8
[Backend] Add csim support via IPModule (#128)
chhzh123 Jan 27, 2024
dde8530
[docs] Fix docs CI (#129)
chhzh123 Jan 31, 2024
64d5075
[Build] Update build.sh script to install Python dependencies (Fix #1…
zzzDavid Feb 5, 2024
87a5cfc
[lib][build] Use csim to verify packed systolic array with dataflow (…
chhzh123 Feb 5, 2024
ffdb457
[README][docs] Update README file and documentations (#135)
chhzh123 Mar 4, 2024
4866cfc
[Backend] Unify csim and hw/sw_emu codegen (#137)
chhzh123 Mar 8, 2024
d6279ae
[backend] Add utility function `hls.is_available()` (#138)
chhzh123 Mar 10, 2024
31fa800
[IP] Add hash value to pybind library (#141)
chhzh123 Mar 19, 2024
27c56bc
[README] Update README for related projects (#142)
chhzh123 Mar 19, 2024
d2c4f88
Matrix Vector Multiplication (#144)
thezenelson Mar 25, 2024
2e934bf
[Builder] Support comment blocks for Allo kernels (#147)
chhzh123 Mar 25, 2024
ed3d8cf
[README] Add citations (#149)
chhzh123 Apr 12, 2024
dfff992
[Backend] Rewind IO loops (#150)
chhzh123 Apr 12, 2024
9a5c1e9
[Builder] Fix None Return (#151)
chhzh123 Apr 15, 2024
ddd4f24
[Utils] Unify loop utils naming convention (#156)
chhzh123 May 13, 2024
a894d47
[README] Add Allo logo (#157)
chhzh123 May 13, 2024
b4c7ece
[lib] Add Transformer kernel library (#158)
chhzh123 May 20, 2024
ca0499c
[lib] Add schedules to nn lib (#159)
chhzh123 May 21, 2024
3d91f0d
[Primitive] Fix dataflow attribute (#160)
chhzh123 May 29, 2024
41fe55e
[lib] Fix naming issue in the softmax library function (#163)
chhzh123 Jun 13, 2024
0c44021
Corrected vivado_hls g++ version check (#164)
bibo-msft Jul 8, 2024
0044143
[IP] Add scalar support to external HLS module (#167)
chhzh123 Jul 28, 2024
060f7aa
[CI] Update sphinx_build script (#175)
chhzh123 Sep 8, 2024
7481f20
[docs] Update installation guide (#177)
chhzh123 Sep 9, 2024
40bd360
[Bugfix] Resolve softmax and sdp overflow for large values (#180)
silvenachen Sep 10, 2024
f9d07f0
[utils] Add scf.for support in get_loops() (#178)
AdrianLiu00 Sep 11, 2024
2e23165
[Builder] Fix incorrect NotOp IR (#184)
chhzh123 Sep 13, 2024
b660810
[Primitives] Add scf.for support and nested loop search in dataflow a…
AdrianLiu00 Sep 13, 2024
5d71c97
[Types] Add examples for large bitwidth integers (#185)
chhzh123 Sep 13, 2024
3425e8c
[BugFix] Fix incorrect size-1 array reduction (#187)
chhzh123 Sep 14, 2024
701360b
[IR] Fix integer negation and negative for loop steps (#188)
chhzh123 Sep 14, 2024
236176f
[IR] Add tuple support in use-def chain analysis and type system (#189)
chhzh123 Sep 16, 2024
d9f7234
[CI] Fix black version and update docs (#190)
chhzh123 Sep 16, 2024
271f62d
[CI] Fix upload/download artifacts for docs deployment
chhzh123 Sep 16, 2024
7818d71
[dataflow][experimental] Add dataflow programming model (tiled kernel…
chhzh123 Sep 17, 2024
1395c48
[backend] Support csim read/write to the same argument (#193)
chhzh123 Sep 19, 2024
15bd53c
[dataflow][experimental] Add stream type and support producer-consume…
chhzh123 Sep 19, 2024
364ce36
[Builder] Support non-constant variables in allo.grid() (#192)
AdrianLiu00 Sep 20, 2024
339e038
[dataflow][experimental] Support systolic pattern and automatic strea…
chhzh123 Sep 21, 2024
fda673c
[dataflow][experimental] Add tiled systolic array example (#197)
chhzh123 Sep 22, 2024
e806923
[dataflow][experimental] Support tensor streaming and cooperative GEM…
chhzh123 Sep 23, 2024
65b6ff1
[dataflow][experimental] Support 1D mesh and add cooperative GEMV exa…
chhzh123 Sep 23, 2024
09e27d9
[Major][Version] Update to LLVM 19.1 and merge MLIR dialect (#203)
chhzh123 Sep 27, 2024
cd31397
[CI] Install rsync
chhzh123 Sep 27, 2024
c699b76
[docs][runtime] Update docs and add csyn support to Vitis HLS (#205)
chhzh123 Sep 29, 2024
1f62493
[docs] Fix format
chhzh123 Oct 1, 2024
b428212
[Types] Represent boolean type as uint1 (#216)
chhzh123 Oct 4, 2024
b48b49e
[Backend] Fix scalar interface in HLS (#219)
chhzh123 Oct 5, 2024
c718995
[Backend][Docs] Update Vitis HLS host code to support load/store data…
chhzh123 Oct 7, 2024
c710e11
[Docs] Add documents for schedule primitives (#214)
jku20 Oct 8, 2024
ac30688
[Backend] Fix Vitis on-board execution testing (#225)
chhzh123 Oct 8, 2024
73aea87
[IR] Support max/min functions (#229)
chhzh123 Oct 18, 2024
32dea14
[IR] Implement scalar as rank-0 memref (#230)
chhzh123 Oct 19, 2024
2949992
[IR] Add casting for min/max/put (#234)
chhzh123 Oct 26, 2024
513a763
[dataflow] Add 1D Systolic GEMM and 2D Systolic Smith-Waterman algori…
huajie-zhong Oct 26, 2024
e146150
[dataflow] Unified Systolic Array (#232)
AdrianLiu00 Oct 27, 2024
fe539e0
[Primitive] Unify kernels for basic and nested affine for loop (#204)
EthanMeng324 Oct 28, 2024
001d77c
[dataflow] Expose build target in df.build function (#235)
chhzh123 Oct 28, 2024
e04c057
[dataflow] Remove unnecessary stream arguments and tag stream type in…
EthanMeng324 Oct 29, 2024
bf7b61c
[dataflow] Automatically remove unused kernels (#240)
EthanMeng324 Nov 1, 2024
2741dcf
[Builder] Add `index` from/to `Float`/`Fixed`/`UFixed` type casting (…
zzzDavid Nov 3, 2024
d08e296
[IR] Add shift left/right operations for fixed points (#243)
chhzh123 Nov 3, 2024
43218dd
[Backend][AIE] Add initial compilation support for Ryzen AI NPU/AIE (…
chhzh123 Nov 4, 2024
2d54573
[Backend][AIE] Add vector support for AIE (#245)
chhzh123 Nov 4, 2024
11c3916
[Backend][AIE] Support kernel mapping to multiple AIE cores (#246)
chhzh123 Nov 4, 2024
53363fe
[Backend][AIE] Support 2D matrices on AIE (#247)
chhzh123 Nov 4, 2024
0a8d4bf
[Backend][Vitis] Fix Vitis input data and expose target to pytorch fr…
chhzh123 Nov 5, 2024
24381a9
[IR][dataflow] Add explicit stream types and operations in MLIR (#249)
chhzh123 Nov 6, 2024
4c2cebf
[dataflow] Refine dataflow interface with df.region (#253)
chhzh123 Nov 8, 2024
c5eba1c
[dataflow][builder] Explicitly unfold stream array (#254)
chhzh123 Nov 12, 2024
9e7fe97
[dataflow] Add daisy-chain SA example (#257)
chhzh123 Nov 13, 2024
bb83e47
[dataflow] Add instruction dispatching by daisy-chain for unified sys…
AdrianLiu00 Nov 18, 2024
3724726
[dataflow] Add weight stationary systolic gemm and fix Smith-Waterman…
huajie-zhong Nov 20, 2024
bed8cfd
[dataflow] Expose customize interface (#262)
chhzh123 Nov 20, 2024
9d54170
[Backend] Generate and wrap the top-level IO data movement (#263)
AdrianLiu00 Nov 24, 2024
ba4a441
[dataflow][backend] Add IO analysis pass (#266)
chhzh123 Nov 26, 2024
8c7b1d3
[IR][Types] Add Support for Struct Types (#265)
zzzDavid Nov 26, 2024
3f08f38
[IR] Fix dangling meta_if matching (#268)
chhzh123 Nov 26, 2024
88a604f
[debug] Support source code error traceback (#271)
chhzh123 Dec 2, 2024
615a5ed
[Pass] Fix load/store data from/to a partitioned buffer in top-level …
chhzh123 Dec 2, 2024
c2aa94b
[backend] Support TAPA HLS backend (#269)
EthanMeng324 Dec 3, 2024
681ed7f
[dataflow] Add multi C/output caches for daisy-chain SA example (#270)
AdrianLiu00 Dec 3, 2024
96aadab
[Bugfix] Fix starting_line_no for PyTorch frontend (#275)
chhzh123 Dec 12, 2024
250e85f
[Pass] Refactor use-def chain analysis (#276)
chhzh123 Dec 13, 2024
04bcd0f
[Backend] Support specifying target device and frequency (#277)
chhzh123 Dec 13, 2024
dc7c86c
[Dataflow] [Pass] Enable multi-cache design for larger-scale GEMM (#280)
AdrianLiu00 Dec 18, 2024
2de86c1
[dataflow] Enable csyn for unified SA under new use-def chain (#281)
AdrianLiu00 Dec 22, 2024
9bcd5a3
[dataflow] Supplement, refine, and organize designs of unified systol…
AdrianLiu00 Dec 25, 2024
32efe2f
[IR] Attach uint attributes (#283)
chhzh123 Jan 1, 2025
b52fffa
[IR] Add bitcast operation (#284)
chhzh123 Jan 4, 2025
519450a
[Type][Backend] Support fp16 (#285)
chhzh123 Jan 4, 2025
4ac0b3f
[docs] Add documents on Allo features (#286)
chhzh123 Jan 13, 2025
06291ef
[doc] Add AIE backend installation guide (#293)
chhzh123 Feb 6, 2025
e37f2c8
[docs] Update HLS tutorial (#294)
chhzh123 Feb 8, 2025
7da059a
[IR] Add Line Number Tracing in MLIR (#295)
tmao8 Feb 11, 2025
8ce25c0
[Verifier] Add PEQC verifier (#291)
bzhang1945 Feb 12, 2025
efa9fa2
[Pass] Systolic Array Enhancements (#299)
zzzDavid Feb 19, 2025
b8a90c1
[IP] Fix PyBind and HLS backend for IPModule (#301)
chhzh123 Feb 20, 2025
84a8b12
[Backend][AIE] Support global indexing, tensor access and kernel rein…
EthanMeng324 Feb 20, 2025
b195253
[dataflow] Support UInt stream (#302)
chhzh123 Feb 21, 2025
76680fb
[Frontend] Support auto schedule composition for PyTorch models (#303)
chhzh123 Feb 22, 2025
30e3afa
[Simulator][Dataflow] Support parallel simulation for kernel with ind…
Oh-Afterglow Feb 28, 2025
b2378b4
[Backend][AIE] Support 2D mappings and multiple kernels within one re…
EthanMeng324 Feb 28, 2025
96b5fcc
[Frontend] Fix tutorial PyTorch test (#307)
chhzh123 Feb 28, 2025
1f61240
[Backend][AIE] Support pure memref builder for AIE backend (#309)
EthanMeng324 Mar 1, 2025
c0e7e47
[Simulator][Dataflow] Add implementation for streams (FIFOs) between …
Oh-Afterglow Mar 1, 2025
0fa9668
[Backend][AIE] Fix builder condition issue (#310)
EthanMeng324 Mar 1, 2025
cba41d7
[Pass] Dataflow Canonicalization (#304)
he-andy Mar 4, 2025
a559974
[Pass][Dataflow] Preprocess reduction loops to ensure read/write cons…
he-andy Mar 5, 2025
f4f0ef4
[Types] Add bfloat16 (#313)
chhzh123 Mar 6, 2025
9dcfa85
[Backend][AIE] Support external vectorized kernels (#314)
chhzh123 Mar 6, 2025
348edb6
[AIE][Backend] Support automatic C kernel generation (#315)
chhzh123 Mar 6, 2025
99bbbb2
[Backend][AIE] Support streaming interface for AIE backend (#316)
EthanMeng324 Mar 9, 2025
a9dbf97
[IP] Add custom C++ function signature parser and simplify API (#317)
chhzh123 Mar 10, 2025
50a0b95
[docs] Add backend docs and fix verifier (#318)
chhzh123 Mar 11, 2025
17c1a7e
[Pass][Dataflow] Refactor automatic dataflow optimization passes (#319)
he-andy Mar 12, 2025
03957d9
[Dataflow] DFG Implementation (#321)
he-andy Mar 20, 2025
841a59d
[Backend][AIE] Refactor codegen and add DTensor for specifying parall…
chhzh123 Mar 24, 2025
098dc62
[Simulator][Dataflow] Support simulating AIE kernels (#330)
Oh-Afterglow Mar 26, 2025
521fdfe
[Examples] Decouple Polybench kernel implementation and schedule func…
he-andy Mar 26, 2025
7ca05f3
[Builder] Fix allo.dsl typing rules (#328)
EthanMeng324 Mar 26, 2025
3e8f277
[Backend] Fix hash constants and softmax (#335)
chhzh123 Apr 8, 2025
8150d46
[Dataflow][Pass] Loop Outlining Pass (#329)
he-andy Apr 9, 2025
993fe81
[Fix] Fix legacy systolic array tests (#338)
chhzh123 Apr 10, 2025
14e078b
[Autoscheduler] Implement MINLP for Graph Parallelism Model (#337)
he-andy Apr 11, 2025
7cdca70
[Dataflow][Backend] Add layout as refinement type (#340)
chhzh123 Apr 13, 2025
419ccb8
[Autoscheduler] Extract schedule from MINLP solution (#339)
he-andy Apr 14, 2025
193ff58
[Dataflow][Backend] Support 3D mapping (#341)
chhzh123 Apr 14, 2025
be1dd58
[Dataflow][AIE] Add device mapping heuristics and tensor parallel exa…
chhzh123 Apr 15, 2025
46d0b89
[Dataflow][AIE] Support 2x2x2 cooperative GEMM by using different com…
EthanMeng324 Apr 15, 2025
d89f3c7
[Dataflow] Support function calls in dataflow region (#345)
chhzh123 Apr 16, 2025
f76571e
[Template] Add allo.meta_for for compile-time loop unrolling (#346)
chhzh123 Apr 16, 2025
249778c
[Simulator][Dataflow] Fix non-scalar FIFO element access (#350)
Oh-Afterglow Apr 23, 2025
5bce2ae
[Backend][AIE] Support dynamic shim and memory tiles allocation based…
EthanMeng324 Apr 23, 2025
c08edb9
[Primitive] Fix nested compose (#353)
chhzh123 Apr 26, 2025
cc80405
[Builder] Fix consecutive AND conditions (#357)
chhzh123 May 1, 2025
b4ca8c6
[Backend][AIE] Remove redundant local buffer through buffer relaying …
EthanMeng324 May 2, 2025
ef9f560
[Autoscheduler][Fix] Bug fixes and improvements (#358)
he-andy May 4, 2025
7f90d87
[Autoscheduler] Node parallel performance model (#362)
he-andy May 5, 2025
9113962
[Dataflow][AIE] Add SUMMA example (#363)
tmao8 May 8, 2025
4b5a446
[Frontend] Add support for various common Pytorch operations (conv2d,…
huajie-zhong May 8, 2025
ed19c9c
[Backend][AIE] Experimental mlir-aie codegen using MLIR builder (#360)
Fangtangtang May 19, 2025
a9d86bf
[Backend][AIE] Align experimental mlir-aie codegen with MLIR-AIE rele…
Fangtangtang May 20, 2025
1c455d5
[Backend][AIE][Profiling] Enable profiling AIE module and fix bugs (#…
Fangtangtang May 28, 2025
35e0628
[AIE] Support User-Defined External C++ Kernels for AIE (#368)
Fangtangtang Jun 9, 2025
21dbdeb
[AIE][Environment] Make aie package optional due to compatibility iss…
Fangtangtang Jun 12, 2025
84890a6
[Autoscheduler] Node Parallel Schedule (#371)
he-andy Jun 26, 2025
d5955e5
[Autoscheduler][Bugfix] Reduction Loop Bug Fix (#374)
he-andy Jun 28, 2025
afd2f96
[AIE][Test] Add GPT-2 and core ops implementation (#373)
Fangtangtang Jul 4, 2025
91cf075
[Autoscheduler] Combined Graph/Node Optimization (#375)
he-andy Jul 10, 2025
80cfc8b
[AIE][Backend] Enabling Large-Scale Computation on AIE Backends throu…
Fangtangtang Jul 10, 2025
25f8811
[Primitive] Fix Partition Propagation (Fix #378) (#379)
zzzDavid Jul 13, 2025
3fbfdc8
[AIE] Improve Virtual Mapping Scalability (#377)
Fangtangtang Jul 14, 2025
2f7de2c
[build] Declare setup-time dependency on pybind11 (#381)
sampsyo Jul 17, 2025
53e25f8
[AIE][Profiling] Enable trace-based profiling on AIE (#380)
Fangtangtang Jul 19, 2025
c287960
[Dataflow][AIE] Add Cannon Example (#383)
chrisfxu Jul 25, 2025
36faff2
[Backend][AIE] Enhance DMA Efficiency and Fix Migration Bugs (#389)
Fangtangtang Aug 5, 2025
66ddecb
[Bugfix] Fix data packing issue by moving bit operations to LowerBitO…
zzzDavid Aug 8, 2025
18e53f2
[Bugfix][HLS] Fix Vivado HLS function call emission for all functions…
zzzDavid Aug 8, 2025
1d38161
[AIE][Backend] Fix bug caused by file-based data transfer between pyt…
Fangtangtang Aug 9, 2025
ed263c8
[Frontend] Support specifying data types for PyTorch models (#393)
chhzh123 Aug 10, 2025
8ffae94
[AIE][Optimization] Optimize DMA, add multi-kernel support, relax mod…
Fangtangtang Aug 11, 2025
d09b9d8
[Frontend][PyTorch] Add support for common Pytorch operations (repeat…
ZRQ0410 Aug 12, 2025
f7ec62e
[AIE] Add Mixed Precision GEMM Support (#399)
Fangtangtang Aug 23, 2025
49e20e1
[AIE][Backend] Code clean-up (#400)
Fangtangtang Aug 27, 2025
86e16f0
[Dataflow][Examples] Systolic array for SpGEMM (#398)
CynyuS Aug 31, 2025
8780343
[Bugfix][Codegen] Fix int8_t host code (#402)
chhzh123 Sep 3, 2025
059c618
[Dataflow][Examples] FEATHER Implementation (#404)
Oh-Afterglow Sep 3, 2025
fcd799d
[AIE][Backend] Efficient virtual mapping implementation (#403)
Fangtangtang Sep 3, 2025
5bd5f7c
[Refactor][IR][Builder] Avoid unrolling df.kernel instances for certa…
Fangtangtang Sep 8, 2025
c7de81c
[Bugfix][AIE] Fix ExternalModule type support and analysis for linalg…
Fangtangtang Sep 11, 2025
04e4c6c
[Dataflow][Examples] Enable fully-tiled GEMM for FEATHER (#407)
Oh-Afterglow Sep 11, 2025
8ab2343
[Bugfix][AIE][Testcase] fix masked_softmax module usage in test_gpt2_…
Fangtangtang Sep 12, 2025
392fd59
[Library] Fix legacy systolic array performance issue (#411)
chhzh123 Sep 13, 2025
cca20cb
[Simulator] Fix low-bitwidth simulation (#413)
chhzh123 Sep 14, 2025
1f62070
[Backend][Bugfix] Fix naming conflicts in bit operations when targeti…
chhzh123 Sep 15, 2025
4836e02
[Docs][AIE] Add environment setup and usage instructions for AIE back…
Fangtangtang Sep 16, 2025
15b79d4
[Dataflow][Example] Packed systolic array for GEMM (#264)
jiahanxie353 Sep 16, 2025
c201bb1
[Dataflow][Example] Systolic array for 2D conv (#324)
Juhyoung29 Sep 16, 2025
82d933e
[Library] Add RoPE and modulate_fused operators to the nn.py library …
silvenachen Sep 16, 2025
4af2bae
[Feature][Bugfix][AIE] Layout transformation optimization (#419)
Fangtangtang Sep 18, 2025
f43e624
[Backend][AIE] Add is_available to the AIE backend (#422)
chhzh123 Sep 18, 2025
b0b1a60
[Docs][AIE] Update AIE backend environment setup documentation (#424)
Fangtangtang Sep 19, 2025
7f9df34
[Backend][AIE] Generate scalar code for VLIW processor from Python (#…
chhzh123 Sep 20, 2025
1040b56
[IR][Builder][Backend] Update variable scoping in IR builder (#427)
Fangtangtang Sep 24, 2025
c59718f
[IR][AIE] Support rolled `meta_for` loops to reduce code size (#429)
Fangtangtang Sep 29, 2025
35c88f4
[Dataflow][AIE] Visualize virtual computation graph (#430)
Fangtangtang Sep 29, 2025
2b61838
[AIE][Feature] Initial support and example for Flash Attention Datafl…
Fangtangtang Oct 1, 2025
cfe317c
[Dataflow][Example] Update synthesizable tiled feather implementation…
chhzh123 Oct 9, 2025
1ed262f
[Dataflow][Examples] Provide a convolution example for FEATHER (#433)
Oh-Afterglow Oct 12, 2025
c3ef235
[AIE][Frontend][IR][Builder] Add support for `memref` slice-based acc…
Fangtangtang Oct 13, 2025
fe919f2
[Bugfix][Dataflow] Update matrix dimensions and packing logic in mult…
AdrianLiu00 Oct 22, 2025
e0439e4
[Frontend][IR][Refactor][Dataflow] Simplify Stream and Stream Array S…
Fangtangtang Oct 23, 2025
ebf6b93
[Bugfix][dataflow] Update Stream Imports in the Dataflow Test Cases (…
Fangtangtang Oct 23, 2025
716c588
[Feature][Backend][Vitis] Add wide-bitwidth support in `vitis_hls` ba…
Fangtangtang Oct 31, 2025
389d424
[IR][Builder] Refactor variable and scoping logic (#447)
Fangtangtang Nov 5, 2025
41036e0
[Frontend][IR][Builder][Simulator] Unroll gather/scatter in frontend …
Oh-Afterglow Nov 7, 2025
e4645a9
[Dataflow][CI][Testcases] Add dataflow test cases (simulator backend)…
Fangtangtang Nov 9, 2025
7dad539
Add examples and documentation for `static` usage in Vitis HLS
sunwookim028 Nov 10, 2025
7304bcb
Add team collaboration workflow documentation
sunwookim028 Nov 10, 2025
c8003f1
Remove redundant `csynth_design` commands in run.tcl to streamline th…
sunwookim028 Nov 10, 2025
18bc54b
chore: add sunwoo_playground to gitignore
sunwookim028 Nov 10, 2025
614838c
Cleanup: Remove ex01-ex07, move projects to work directory, implement…
sunwookim028 Nov 10, 2025
8fa7e39
Final cleanup: ensure all files are committed
sunwookim028 Nov 10, 2025
b30de77
Remove temporary file
sunwookim028 Nov 10, 2025
c112264
[Bugfix] Fix softmax template causing Vitis HLS codegen error (#460)
Fangtangtang Nov 10, 2025
658a5ad
Create miniTPU_HLS project structure
sunwookim028 Nov 10, 2025
a7962e2
[Example][Dataflow] Simplify FEATHER implementation and update schedu…
chhzh123 Nov 13, 2025
f704f3f
[AIE][Feature] Support `bundle` on multiple nodes (subgraph level vir…
Fangtangtang Nov 15, 2025
75291d9
[Backend] Add support for Pynq Ultra96 (#452)
stanleyshly Nov 15, 2025
6d3d9c3
Add stateful type
maheshejs Nov 17, 2025
5181592
Add miniTPU_HLS project: HLS kernel with shared BRAM, host runtime, a…
sunwookim028 Nov 18, 2025
a6f6d22
Add files from sunwoo_playground/tmp
sunwookim028 Nov 18, 2025
daf1b8e
Add mlir_to_hls project (renamed from mlir_to_hls_static)
sunwookim028 Nov 18, 2025
dd018bd
Add hls.static attribute support to emitGlobal for static memref globals
sunwookim028 Nov 18, 2025
8fb858b
translated MLIR to HLS; not static but global
sunwookim028 Nov 18, 2025
4e48bad
switch to vitis_hls platform in demo
sunwookim028 Nov 18, 2025
d535259
document static vs global distinction; hls.static attribute syntax ne…
sunwookim028 Nov 18, 2025
7ab7a75
Merge branch 'dev' into sunwoo
sunwookim028 Nov 18, 2025
dc0b862
Recognize stateful variables by _stateful_ pattern and emit as static
sunwookim028 Nov 18, 2025
47a444e
Current state: stateful variable recognition fix ready for testing
sunwookim028 Nov 18, 2025
df40c24
Test: verify stateful variables emit as static after rebuild
sunwookim028 Nov 18, 2025
e173299
Clean stale files: remove build artifacts, Python cache, and obsolete…
sunwookim028 Nov 18, 2025
2d7a7ff
Add demo: Stateful type → MLIR → Vitis HLS with static variables
sunwookim028 Nov 19, 2025
5489ade
Add test for Stateful type with += operator
sunwookim028 Nov 19, 2025
d8a1757
Emit stateful variables as static inside functions, not at module level
sunwookim028 Nov 19, 2025
fc15b09
Clean up: remove old output files, keep only latest with static insid…
sunwookim028 Nov 19, 2025
79554f2
Add test script and update README with clear reproduction instructions
sunwookim028 Nov 19, 2025
c93fed8
Update README with test instructions
sunwookim028 Nov 19, 2025
8a22289
Refactor stateful as a qualifier to types rather than a new type - Ex…
maheshejs Nov 23, 2025
8fc1421
Fix stateful refetch global with caching, initialization, hashing nam…
maheshejs Nov 24, 2025
9a37270
integration test. try mlir_to_hls/test_stateful.py
sunwookim028 Nov 24, 2025
0369aca
change stateful syntax from Stateful[] to stateful() - merge allo fro…
maheshejs Dec 1, 2025
ac416c1
added stateful examples
Dec 5, 2025
f968d5f
add stateful tiled systolic
maheshejs Dec 6, 2025
994abf3
update eval script
sunwookim028 Dec 8, 2025
f47e58b
cleanup for PR
sunwookim028 Dec 12, 2025
3f3772c
Merge branch 'patch-backend'
sunwookim028 Dec 12, 2025
d84a82b
Merge remote-tracking branch 'refs/remotes/origin/main'
sunwookim028 Dec 12, 2025
134761e
add doc
sunwookim028 Dec 12, 2025
dec2a30
Add support for memref.copy operation in Vivado HLS emitter
cursoragent Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 0 additions & 62 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BasedOnStyle: LLVM
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Bug report
about: Create a bug report to help us improve
title: "[BUG]"
labels: bug

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Provide test cases to reproduce the error.

**Buggy output**
Provide the output of the buggy program.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Additional context**
Add any other context about the problem here.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature]"
labels: enhancement

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--- Copyright Allo authors. All Rights Reserved. -->
<!--- SPDX-License-Identifier: Apache-2.0 -->

## Description ##
(Brief description of what this PR is about, what kind of problem you want to solve, and what is your solution)

### Problems ###
(What this PR is about)


### Proposed Solutions ###
(What changes have you made)


### Examples ###
(Please provide an example of the input program and the expected behavior, e.g., the generated IR.)


## Checklist ##

Please make sure to review and check all of these items:
- [ ] PR's title starts with a category (e.g. [Bugfix], [IR], [Builder], etc)
- [ ] All changes have test coverage (It would be good to provide ~2 different test cases to test the robustness of your code)
- [ ] Pass the [formatting check](https://cornell-zhang.github.io/allo/developer/index.html#id1) locally
- [ ] Code is well-documented
71 changes: 71 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Copyright Allo authors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0

name: "Allo Test"
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
# This job runs on Linux
runs-on: ubuntu-latest
container:
image: chhzh123/allo:latest

steps:
# https://github.com/actions/checkout/issues/363#issuecomment-1915075699
- name: Install git in container
run: |
apt-get -y install git
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Build Allo
shell: bash
run: |
source activate allo
export LLVM_BUILD_DIR=/root/llvm-project/build
python3 -m pip install -v -e .
- name: Formatting Check
shell: bash
run: |
source activate allo
bash scripts/lint/task_lint.sh
- name: Unit tests
shell: bash
run: |
source activate allo
export PATH=/root/llvm-project/build/bin:${PATH}
export LLVM_BUILD_DIR=/root/llvm-project/build
python3 -m pytest --ignore=tests/dataflow tests -v
export OMP_NUM_THREADS=128
python3 -m pytest --ignore=tests/dataflow/aie tests/dataflow -v
unset OMP_NUM_THREADS
- name: Tutorial
shell: bash
run: |
source activate allo
export LLVM_BUILD_DIR=/root/llvm-project/build
python3 -m pytest tutorials -v
- name: Benchmark
shell: bash
run: |
source activate allo
export LLVM_BUILD_DIR=/root/llvm-project/build
python3 -m pytest examples/polybench -v
# no left space!
# - name: PyTorch
# shell: bash
# run: |
# source activate allo
# export LLVM_BUILD_DIR=/root/llvm-project/build
# python3 -m pip install torch==2.5.1
# python3 examples/torch/toy.py
# python3 examples/torch/mlp.py
67 changes: 25 additions & 42 deletions .github/workflows/sphinx_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
# SPDX-License-Identifier: Apache-2.0

name: "Build documentation"
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- main
paths:
- '.github/workflows/**'
- 'docs/**'
- 'tutorials/**'
pull_request:
branches:
- main
paths:
- '.github/workflows/**'
- 'docs/**'
- 'tutorials/**'

Expand All @@ -22,63 +23,45 @@ jobs:
# This job runs on Linux
runs-on: ubuntu-latest
container:
image: zzzdavid/llvm-project:15.0.0
options: --user root
image: chhzh123/allo:latest

steps:
- uses: actions/checkout@v3
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Install git
run: |
apt-get install -y git
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Build HCL-MLIR
fetch-depth: 0
- name: Build Allo
shell: bash
run: |
export BUILD_DIR=/home/circleci/llvm-project/build
export PREFIX=/home/circleci/llvm-project/build
git clone https://github.com/cornell-zhang/hcl-dialect.git
cd hcl-dialect
mkdir -p build && cd build
cmake -G "Unix Makefiles" .. \
-DMLIR_DIR=$PREFIX/lib/cmake/mlir \
-DLLVM_EXTERNAL_LIT=$BUILD_DIR/bin/llvm-lit \
-DPYTHON_BINDING=ON \
-DPython3_EXECUTABLE=`which python3`
make -j2
cd tools/hcl/python_packages/hcl_core
python3 -m pip install . -v
source activate allo
export LLVM_BUILD_DIR=/root/llvm-project/build
python3 -m pip install -v -e .
- name: Build docs
shell: bash
run: |
export ALLO_HOME=$(pwd)
export LLVM_BUILD_DIR=/home/circleci/llvm-project/build
export PATH=${LLVM_BUILD_DIR}/bin:${PATH}
export PYTHONPATH=$ALLO_HOME:${PYTHONPATH}
export PYTHONPATH=$ALLO_HOME/hcl-dialect/build/tools/hcl/python_packages/hcl_core:${PYTHONPATH}
python3 -m pip install -r requirements.txt
source activate allo
export PATH=/root/llvm-project/build/bin:${PATH}
cd docs
export LLVM_BUILD_DIR=/root/llvm-project/build
python3 -m pip install -r requirements.txt
make html
- run: touch docs/build/html/.nojekyll
# Create an artifact of the html output using Github action: https://github.com/actions/upload-artifact
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: DocumentationHTML
path: docs/build/html/
- name: Install rsync
run: |
apt-get update && apt-get install -y rsync
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@v4
if: github.event_name == 'push'
with:
ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/html
- run: touch docs/build/html/.nojekyll
- name: Deploy docs to website
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: 'docs/build/html'
destination-github-username: 'chhzh123'
destination-repository-name: 'allo-docs'
user-email: hc676@cornell.edu
target-branch: gh-pages
target-directory: ""
FOLDER: docs/build/html/
57 changes: 56 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ soda_*
out
rapidjson
project_*
**/.ipynb_checkpoints

# Downloaded files
*.params
Expand All @@ -26,11 +27,65 @@ project_*
project
rapidjson

# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

build
.vscode

# MLIR intermediate results
*.opt

# HLS
*.log

# Linear programming files
*.lp

tmp
*.pyc

.vscode
*.prj
*.pdf
*.dot
*.egg-info
*.so

docs/source/gallery
log

_tmp
*.txt
sg_execution_times.rst

sunwoo_playground/*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "externals/llvm-project"]
path = externals/llvm-project
url = https://github.com/llvm/llvm-project.git
Loading