Skip to content

Commit 817e98f

Browse files
committed
WIP: DAECompiler v2
This is a WIP branch for IPO-enabled DAECompiler v2. The main objective here is to: - Remove all dead code from the various iterations of DAECompiler - Fully transition to IPO caches - Switch to the new intrinsic design - Refactor the code to make it easier to understand The way I have gone about this is to delete most of DAECompiler, and then put back the pieces one by one in the proper place, updating things as I go along. The hope is that this way, most of the code has been looked at to make sure it's still needed and sensible. The current status of this branch is that (with very recent master) it passes the minimal smoke tests in test/ipo. However, I have not yet put back Diffractor integration of written codegen for jacobians. As such, it should be considered a proof of concept for the new caching setup, rather than a finished implementation. Putting it up now for early preview.
1 parent 24b782b commit 817e98f

File tree

103 files changed

+2493
-15453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+2493
-15453
lines changed

Manifest.toml

Lines changed: 215 additions & 591 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ projects = ["test"]
88

99
[deps]
1010
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"
11+
AutoHashEquals = "15f4f7f2-30c1-5605-9d31-71845cf9641f"
1112
CentralizedCaches = "d1073d05-2d26-4019-b855-dfa0385fef5e"
1213
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
1314
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -50,10 +51,11 @@ DAECompilerModelingToolkitExt = "ModelingToolkit"
5051

5152
[compat]
5253
Accessors = "0.1.36"
54+
AutoHashEquals = "2.2.0"
5355
CentralizedCaches = "1.1.0"
5456
ChainRules = "1.50"
5557
ChainRulesCore = "1.20"
56-
Compiler = "0.0.1"
58+
Compiler = ">= 0.0.1"
5759
Cthulhu = "2.10.1"
5860
DiffEqBase = "6.149.2"
5961
Diffractor = "0.2.7"

ext/DAECompilerModelingToolkitExt.jl

Lines changed: 0 additions & 261 deletions
This file was deleted.

ext/DAECompilerSciMLSensitivityExt.jl

Lines changed: 0 additions & 92 deletions
This file was deleted.

scratch/lorenz_summary.jl

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)