Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmarks/AutomaticDifferentiationSparse/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.7"
manifest_format = "2.0"
project_hash = "6b7ebd48c2ddf019d078dc63bd6da748e01f3c72"
project_hash = "66c017de4feba5a1b0f262d272a495d3a07cb06d"

[[deps.ADTypes]]
git-tree-sha1 = "72af59f5b8f09faee36b4ec48e014a79210f2f4f"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ using LinearAlgebra
using SparseConnectivityTracer: TracerSparsityDetector
using SparseMatrixColorings
import Enzyme,ForwardDiff,Mooncake
import Markdown, PrettyTables, Printf
```

## Backends tested
Expand Down Expand Up @@ -79,4 +80,13 @@ scenarios = [ Scenario{:jacobian,:out}(Diffusion,u,res1=DDiffusion(u))];

```julia
df = benchmark_differentiation(bcks, scenarios)
table = PrettyTables.pretty_table(
String,
df;
backend=Val(:markdown),
header=names(df),
formatters=PrettyTables.ft_printf("%.1e"),
)

Markdown.parse(table)
```
1 change: 1 addition & 0 deletions benchmarks/AutomaticDifferentiationSparse/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Mooncake = "da2b9cff-9c12-43a0-ae48-6db2b0edb7d6"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
PreallocationTools = "d236fae5-4411-538c-8e31-a6e3d9e00b46"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SparseConnectivityTracer = "9f842d2f-2579-4b1d-911e-f412cf18a3f5"
SparseDiffTools = "47a9eef4-7e08-11e9-0b38-333d64bd3804"
Expand Down
Loading