Skip to content

Fix specfunc calling conv#3285

Merged
wsmoses merged 1 commit into
mainfrom
sfcc
Jul 6, 2026
Merged

Fix specfunc calling conv#3285
wsmoses merged 1 commit into
mainfrom
sfcc

Conversation

@wsmoses

@wsmoses wsmoses commented Jul 6, 2026

Copy link
Copy Markdown
Member

fix #3280

@wsmoses wsmoses requested a review from vchuravy July 6, 2026 18:09
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic main) to apply these changes.

Click here to view the suggested changes.
diff --git a/src/compiler.jl b/src/compiler.jl
index 3cb7aa00..e9ef3b8c 100644
--- a/src/compiler.jl
+++ b/src/compiler.jl
@@ -2347,7 +2347,7 @@ for (k, v) in (
     ("enz_runtime_jl_getfield_aug", Enzyme.Compiler.rt_jl_getfield_aug),
     ("enz_runtime_jl_getfield_rev", Enzyme.Compiler.rt_jl_getfield_rev),
     ("enz_runtime_idx_jl_getfield_aug", Enzyme.Compiler.idx_jl_getfield_aug),
-    ("enz_runtime_idx_jl_getfield_rev", Enzyme.Compiler.idx_jl_getfield_rev),
+        ("enz_runtime_idx_jl_getfield_rev", Enzyme.Compiler.idx_jl_getfield_rev),
     ("enz_runtime_jl_setfield_aug", Enzyme.Compiler.rt_jl_setfield_aug),
     ("enz_runtime_jl_setfield_rev", Enzyme.Compiler.rt_jl_setfield_rev),
     ("enz_runtime_error_if_differentiable", Enzyme.Compiler.error_if_differentiable),

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results

main a3aa1b6... main / a3aa1b6...
basics/make_zero/namedtuple 0.0322 ± 0.0064 μs 29.4 ± 6.5 ns 1.09 ± 0.33
basics/make_zero/struct 0.138 ± 0.0078 μs 0.135 ± 0.0076 μs 1.02 ± 0.082
basics/overhead 2.79 ± 0.029 ns 2.66 ± 0.01 ns 1.05 ± 0.012
basics/remake_zero!/namedtuple 0.129 ± 0.0065 μs 0.126 ± 0.0067 μs 1.02 ± 0.075
basics/remake_zero!/struct 0.128 ± 0.0069 μs 0.124 ± 0.0072 μs 1.02 ± 0.081
fold_broadcast/multidim_sum_bcast/1D 6.3 ± 1.7 μs 6.4 ± 1.7 μs 0.984 ± 0.38
fold_broadcast/multidim_sum_bcast/2D 6.64 ± 1.5 μs 6.37 ± 1.6 μs 1.04 ± 0.35
time_to_load 1 ± 0.0078 s 0.993 ± 0.032 s 1.01 ± 0.034

Benchmark Plots

A plot of the benchmark results has been uploaded as an artifact at https://github.com/EnzymeAD/Enzyme.jl/actions/runs/28812958200/artifacts/8117783502.

@wsmoses wsmoses merged commit 33378d2 into main Jul 6, 2026
76 of 89 checks passed
@wsmoses wsmoses deleted the sfcc branch July 6, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant