Skip to content

Commit a6e5527

Browse files
committed
fix autodiff perf by running the enzyme opt pass before autodiff
1 parent 6345b59 commit a6e5527

File tree

1 file changed

+1
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-0
lines changed

Diff for: src/bootstrap/src/core/build_steps/llvm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@ impl Step for Enzyme {
964964
.env("LLVM_CONFIG_REAL", &llvm_config)
965965
.define("LLVM_ENABLE_ASSERTIONS", "ON")
966966
.define("ENZYME_EXTERNAL_SHARED_LIB", "ON")
967+
.define("ENZYME_RUNPASS", "ON")
967968
.define("LLVM_DIR", builder.llvm_out(target));
968969

969970
cfg.build();

0 commit comments

Comments
 (0)