Commit Graph

492 Commits

Author SHA1 Message Date
Hanchen Ye 02dcdd1438 [PyTorchPipeline] Rename from scalehls-pipeline to scalehls-pytorch-pipeline; [QoREstimation] Remove the depAnalysis option, always set to true 2022-02-23 17:09:09 -06:00
Hanchen Ye a4e1d05626 [EmitHLSCpp][SplitFunction] Support tensor/memref reshape ops 2022-02-23 17:02:25 -06:00
Hanchen Ye 1eed2a95ab [AffineLoopUnrollAndPipeline] Rename this pass from PartialAffineLoopTile, always execute loop pipelining now 2022-02-23 04:15:34 -06:00
Hanchen Ye 543356dac5 [ConvertCopyToAffineLoops] Implement this pass; Enable more passes in the scalehls pipeline 2022-02-23 03:49:11 -06:00
Hanchen Ye 4c1e8f177f Remove onnx front-end option from scalehls pipeline; Deprecate onnx-mlir samples 2022-02-22 23:46:10 -06:00
Hanchen Ye 0d8e73c09c [Conversions] Remove this directory 2022-02-22 23:35:32 -06:00
Hanchen Ye 875f04a4c1 [LegalizeDataflow][SplitFunction] Support adopt TOSA IR from torch-mlir 2022-02-22 23:25:05 -06:00
Hanchen Ye 1f11eb3ce9 Bump LLVM to af6b993 2022-02-22 01:18:14 -06:00
Hanchen Ye 3bea951beb [ArrayPartition][LegalizeHLSCpp] Handle the memref type of global op 2022-02-22 00:46:36 -06:00
Paul Jeong 310d9c6981 [IP_Integration] collapse_shape emitter implemented 2022-02-21 21:58:38 -06:00
Hanchen Ye bdf72c8cc3 [LegalizeDataflow] Support linalg ops; Make this pass more robust; [SplitFunction] Support linalg ops 2022-02-21 19:41:03 -06:00
Hanchen Ye cc324c4b45 [SimplifyGraph] Implement this pass 2022-02-20 19:28:33 -06:00
Hanchen Ye c621ee0464 [Transforms] Add pipeline option to specify front-end: torch or onnx 2022-02-20 18:24:56 -06:00
Hanchen Ye 82eccaa915 [Samples] Update the structure of the samples folder 2022-02-20 17:15:16 -06:00
Hanchen Ye 0d51c997c5 [Readme] Separte instructions for onnx-mlir and torch-mlir to samples folder; Add bibtex for the scalehls paper; [DSE] Output the result after dse; [Samples] Add torchscript resnet18 example to torch-mlir folder 2022-02-20 14:56:05 -06:00
Hanchen Ye bdc607600c [Transforms] Enable optimization level in the scalehls-pipeline 2022-02-17 22:15:28 -06:00
Hanchen Ye 66bf9a7623 [Readme] Update instructions for resnet18 example 2022-02-17 20:27:16 -06:00
Hanchen Ye 3536658eba [AffineStoreForward] Fixed an issue related to AffineIf and SCFIf 2022-02-17 20:00:34 -06:00
Hanchen Ye 723d42304a [QoREstimation] Support scf if op 2022-02-17 19:52:58 -06:00
Hanchen Ye 074a1732de [ArrayPartition] Consider the parallel accessing of transfer read/write op 2022-02-17 19:10:25 -06:00
Hanchen Ye 38407d8539 [ArrayPartition] Consider transfer read/write ops 2022-02-17 17:03:02 -06:00
Hanchen Ye 577fa54c49 [Support] Include transfer load/store when getting the memref access map 2022-02-17 16:01:39 -06:00
Hanchen Ye cb37d037b4 [CreateHLSCppPrimitive] Support multiplication packing; [LegalizeToHLSCpp] Lower permute transfer read/write; Raise memref load/store to affine load/store 2022-02-17 15:28:59 -06:00
Hanchen Ye b3c40d94bb [HLSCpp] Update the definition of MulPrimOp to support multiplication packing; [EmitHLSCpp] Support the emission of hlscpp primitive ops 2022-02-17 14:50:05 -06:00
Hanchen Ye 9dddfb23e8 [EmitHLSCpp] Implement the emission of transfer read/write and broadcast 2022-02-16 23:27:42 -06:00
Hanchen Ye 3100f042f3 [EmitHLSCpp] Support max/min ops 2022-02-16 19:12:51 -06:00
Hanchen Ye d775ccc9f9 [EmitHLSCpp] Support reinterpret_cast op 2022-02-16 18:41:19 -06:00
Hanchen Ye cf6ae244cc Add affine vector load/store visitors 2022-02-16 17:15:49 -06:00
Hanchen Ye 887424942b [HLSCpp] Remove unused operations from the visitor; [EmitHLSCpp] Start the emissionts of vector load/store, transfer read/write, broadcast, mul primitive 2022-02-16 14:57:09 -06:00
Hanchen Ye b388aac4df [LegalizeToHLSCpp] Lowering transfer read/write to affine vector load/store 2022-02-16 14:01:16 -06:00
Hanchen Ye 9626e556b7 [Transforms] Support vectorization in the pass pipeline; Update several passes to make them aware of transfer_read/write ops 2022-02-16 04:19:33 -06:00
Hanchen Ye b0cb590fb6 [Transforms] Enable the pass pipeline with tunable dataflow granularity and loop tiling size 2022-02-16 02:28:52 -06:00
Hanchen Ye 770ae66603 [CreateHLSCppPrimitive] Factor out this pass from LegalizeToHLSCpp; Move LegalizeToHLSCpp to Transforms directory; [Transforms] Add scalehls pass pipeline 2022-02-16 00:39:09 -06:00
Hanchen Ye ec415f92d5 [LegalizeToHLSCpp] Support to create mul and cast primitives for integer calculations 2022-02-15 23:35:57 -06:00
Hanchen Ye 7af2c0cafd [HLSCpp] Introduce MulPrimOp and CastPrimOp for DSP double pumping 2022-02-14 17:20:34 -06:00
Hanchen Ye 5c8e1ebda2 [QoREstimator] Improve the accuracy when resource can be shared between multiple loop bands 2022-02-13 23:21:22 -06:00
Hanchen Ye 1be6af93d8 [QoREstimator] Support fexp op; Start to specify dsp usage in config.json 2022-02-11 05:56:38 -06:00
Hanchen Ye baa212b473 [QoREstimation] Resolve an issue when estimating multi-loop functions with no_touch annotations 2022-02-11 04:51:42 -06:00
Hanchen Ye d54764e650 [CMake] Stop to use file globs 2022-02-09 15:41:11 -06:00
Hanchen Ye fc0818d873 Update instructions for spam-filter in readme 2022-02-09 15:09:57 -06:00
Hanchen Ye 61365028c1 [Samples] Add config file into rosetta benchmarks 2022-02-09 14:52:45 -06:00
Hanchen Ye 941d17bdf9 [Utils] Include reduce-initial-interval into the dse 2022-02-09 14:34:57 -06:00
Hanchen Ye dfc2ab12c2 [ReduceInitialInterval] Implement this pass 2022-02-09 14:22:05 -06:00
Hanchen Ye 3c3c65a724 [Samples] Update array-partition and qor-estimation to have rosetta spam-filter work 2022-02-08 21:25:38 -06:00
Hanchen Ye 8a8de8b4c2 [MaterializeReduction] Implement this pass 2022-02-07 00:38:25 -06:00
Hanchen Ye 0c18cb940e [SplitFunction] Fixed an issue that reinterpret_cast op's result is identified as livein 2022-02-06 19:02:30 -06:00
Hanchen Ye 0ac214b1e7 [Samples] Add two rosetta benchmarks 2022-02-03 23:40:40 -06:00
Hanchen Ye 97c33324b8 [LoopPerfection] Fix the issue when the loop contains local buffer allocs 2022-02-02 15:02:03 -06:00
Hanchen Ye ad965874c5 Update polygeist 2022-02-01 15:21:11 -06:00
Hanchen Ye d356071a53 Improve error messeges of json parsing; Add comments to each item in config.json 2022-01-28 02:12:56 -06:00