fix autodiff perf by running the enzyme opt pass before autodiff
This commit is contained in:
parent
6345b59e74
commit
a6e55271fb
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue