Commit Graph

420 Commits

Author SHA1 Message Date
Hanchen Ye d8d0fdf22a [README] Update project description 2021-11-09 16:47:56 -06:00
Hanchen Ye aaf11f432d Add build-scalehls.sh script; [README] Update build and test instructions; [Polygeist] Update polygeist submodule to avoid gettimeofday failure 2021-11-09 00:49:06 -06:00
Hanchen Ye 99b8ba2021 [README] Update description and paper 2021-11-08 12:06:20 -06:00
Hanchen Ye 99ce81ce68 [BindingsPython] Add get_trip_count API to LoopBand class; [README] Add a note for the use of help() in python 2021-11-06 19:26:36 -05:00
Hanchen Ye 491ba1c2e8 [pyscalehls] Use array_partition python API; [BindingsPython] Add MlirValue pybind adapter 2021-11-06 18:02:03 -05:00
Hanchen Ye 7d586d23ef [BindingsPython] Use IRModule, IRCore, and PybindUtils from upstream MLIR; Use local PybindAdapter; Remove local PybindUtils 2021-11-06 16:33:07 -05:00
Hanchen Ye 31981f14e4 [Support] Add getArrays API; [BindingsPython] Add PyArrayList class for array iteration; Remove logics after python exception 2021-11-06 15:45:43 -05:00
Hanchen Ye 1bdc117ddb [ArrayPartition] Add array partition API with explicit factors and kinds (cyclic or block) 2021-11-06 02:43:47 -05:00
Hanchen Ye b219d861b1 [BindingsPython] Improve exception handling; Clean up APIs packaging 2021-11-04 18:39:10 -05:00
Hanchen Ye 9f01d9fc83 [pyscalehls] Use python3 by default; [README] Update testing instructions 2021-11-03 22:25:06 -05:00
Hanchen Ye 68f1d2a577 [AffineLoopOrderOpt] Support to specify permMap; [BindingsPython] Support LoopPermutation API; [pyscalehls] Add comments to each optimization call 2021-11-03 22:05:05 -05:00
Hanchen Ye 545e8cf336 [CMake] Require numpy package in cmake 2021-11-03 21:18:39 -05:00
Hanchen Ye fcf3d5c323 [BindingsPython] Support to parse nparray argument; Support LoopTile API 2021-11-03 20:34:39 -05:00
Hanchen Ye e8cd525089 [pyscalehls] Check whether a function is top function before HLSCpp legalization 2021-11-03 16:39:06 -05:00
Hanchen Ye 07d027d3c5 [BindingsPython] Directly use C++ API for ScaleHLS transform util bindings 2021-11-03 15:49:46 -05:00
Hanchen Ye 5fc73d0bb2 [BindingsPython] Add useful member methods to LoopBand and LoopBandList 2021-11-03 01:35:20 -05:00
Hanchen Ye ad8dea7101 [BindingsPython] Support applyLoopPipelining API 2021-11-03 01:20:47 -05:00
Hanchen Ye 82f8c7b221 [BindingsPython] Support MemoryAccessOpt API 2021-11-03 01:04:38 -05:00
Hanchen Ye 76abd5b96e [BindingsPython] Support AffineLoopOrderOpt and RemoveVariableBound APIs 2021-11-03 00:47:13 -05:00
Hanchen Ye 15177b36fb [BindingsPython] Rename PyAffineLoopBandIterator to PyAffineLoopBandList 2021-11-03 00:26:03 -05:00
Hanchen Ye b422ef16ee [BindingsPython] Support PyAffineLoopBand and PyAffineLoopBandIterator utility; Support applyAffineLoopPerfection API 2021-11-03 00:21:14 -05:00
Hanchen Ye 98603c5d73 [CAPI] Use add_mlir_public_c_api_library instead of add_mlir_library for ScaleHLS CAPI targets 2021-11-01 17:49:50 -05:00
Hanchen Ye 7359ec02c0 Update Polygeist to daeb952 2021-11-01 16:27:57 -05:00
Hanchen Ye f68cca41f8 [BindingsPython] Include all MLIR Python resources 2021-11-01 14:20:28 -05:00
Hanchen Ye dbe24a3fdc Fix a warning 2021-10-18 17:32:45 -05:00
Hanchen Ye 513fdf582d [pyscalehls] Support to parse C as input; Add corresponding lit test 2021-10-08 05:06:17 -05:00
Hanchen Ye 0f663e69c3 Support HLSCpp dialect python binding 2021-10-08 03:27:49 -05:00
Hanchen Ye 9b5be88f51 Add HLSCpp dialect CAPI 2021-10-08 03:01:38 -05:00
Hanchen Ye b20b152bd6 Port applyLegalizeToHLSCpp to python 2021-10-08 02:51:21 -05:00
Hanchen Ye 1850a5e428 Export PYTHONPATH in the installation instruction 2021-10-07 13:53:18 -05:00
Hanchen Ye a001bbb652 Update pyscalehls tool CMakeLists.txt 2021-10-06 21:28:05 -05:00
Hanchen Ye 111dab4e1b Update pyscalehls argument help info 2021-10-06 20:59:40 -05:00
Hanchen Ye 75bd5ba7f8 Add pyscalehls tool 2021-10-06 14:44:35 -05:00
Hanchen Ye 4d3e9fa9c8 Include pyscalehls into cmake 2021-10-03 23:18:23 -05:00
Hanchen Ye b8f3882e5e Remove MlirFunc definitions 2021-10-03 16:59:33 -05:00
Hanchen Ye e7c8d07032 Update readme 2021-10-03 10:19:58 -05:00
Hanchen Ye 0492347bef Add pyscalehls tool; Python binding for applyArrayPartition 2021-10-03 10:18:25 -05:00
Hanchen Ye f8eb537c45 Update installation instruction 2021-10-01 13:22:03 -05:00
Hanchen Ye 8ec060ea11 Start of transform utils python binding 2021-10-01 12:19:25 -05:00
Hanchen Ye ddd973f90b Add pybind emit_hlscpp regression test 2021-09-30 17:55:36 -05:00
Hanchen Ye 518c201bf1 Update readme 2021-09-30 14:07:10 -05:00
Hanchen Ye bc528b959a Rename Polygeist to polygeist 2021-09-30 12:20:01 -05:00
Hanchen Ye ddf17f2ae8 Remove config folder; Update -multiple-level-dse to -dse 2021-09-30 04:57:45 -05:00
Hanchen Ye 2d42d2d6b9 Update README; Enable output QoR estimation in DSE; Register LLVM dialect 2021-09-30 04:44:47 -05:00
Hanchen Ye 9cf839db30 Update Polygeist to hanchenye's fork 2021-09-30 02:36:21 -05:00
Hanchen Ye 681e7acb52 remove benchmark-gen command line tool 2021-09-30 02:24:13 -05:00
Hanchen Ye ab9d20a6eb Support to import scalehls in python; Move analysis utils to support folder; Move qor estimator to transform folder 2021-09-30 02:18:31 -05:00
Hanchen Ye 149ed35967 Start of capi and python binding 2021-09-29 23:33:56 -05:00
Hanchen Ye f13dbc72ad Unified install for MLIR, Clang, Polygeist, and ScaleHLS, prepare for Python binding feature 2021-09-29 23:33:33 -05:00
Hanchen Ye 2602d942b0 Bump Polygeist to 106ed7a 2021-09-24 21:51:09 -05:00