Closed
Description
Description
The freshly merged static matrix refactor things do slow down stan programs significantly whenever lto is not turned on.
So as of now in the static matrix world we absolutely need the lto optimisation for good performance. Thus, our makefiles should ideally switch on lto whenever the compiler is capable enough of handling it. The user should not be required to add -flto
to the make/local
to get good performance
Example
See #2007 (comment)
where it is demonstrated that turning on lto gives back the old performance numbers.
Expected Output
Results should be produced as fast as in the pre static matrices.
Current Version:
v3.3.0
Metadata
Metadata
Assignees
Labels
No labels