Skip to content

Commit

Permalink
fix autodiff perf by running the enzyme opt pass before autodiff
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuseZ4 committed Feb 8, 2025
1 parent 6345b59 commit a6e5527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/src/core/build_steps/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ impl Step for Enzyme {
.env("LLVM_CONFIG_REAL", &llvm_config)
.define("LLVM_ENABLE_ASSERTIONS", "ON")
.define("ENZYME_EXTERNAL_SHARED_LIB", "ON")
.define("ENZYME_RUNPASS", "ON")
.define("LLVM_DIR", builder.llvm_out(target));

cfg.build();
Expand Down

0 comments on commit a6e5527

Please sign in to comment.