Skip to content

Commit

Permalink
Merge pull request #1149 from stan-dev/test-O1
Browse files Browse the repository at this point in the history
Disable AD levels optimization in `--O1`
  • Loading branch information
rok-cesnovar authored Mar 21, 2022
2 parents afcd55a + 16b044c commit 34ca74c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 70 deletions.
2 changes: 1 addition & 1 deletion src/analysis_and_optimization/Optimize.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ let level_optimizations (lvl : optimization_level) : optimization_settings =
; partial_evaluation= true
; lazy_code_motion= false
; allow_uninitialized_decls= true
; optimize_ad_levels= true
; optimize_ad_levels= false
; preserve_stability= false
; optimize_soa= true }
| Oexperimental -> all_optimizations
Expand Down
Loading

0 comments on commit 34ca74c

Please sign in to comment.