Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More build time reduction #1809

Merged
merged 1 commit into from
Nov 24, 2017

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Nov 24, 2017

Break the longest-compiling file, imagebufalgo_mathops.cpp, into
imagebufalgo_addsub.cpp, imagebufalgo_muldiv.cpp, imagebufalgo_mad.cpp,
and a teensy bit of refactoring within those files to reduce compilation
effort.

Also changed the src/libOpenImageIO/CMakeLists.txt to list the most
expensive files first, in the hope that if it does that first, it can
load balance easier by having lots of inexpensive files to work on with
the other cores.

The net result is that it saves another 15 seconds of wall clock time
when building with 24 cores, down from about 2 minutes (so around another
12%).

Break the longest-compiling file, imagebufalgo_mathops.cpp, into
imagebufalgo_addsub.cpp, imagebufalgo_muldiv.cpp, imagebufalgo_mad.cpp,
and a teensy bit of refactoring within those files to reduce compilation
effort.

Also changed the src/libOpenImageIO/CMakeLists.txt to list the most
expensive files first, in the hope that if it does that first, it can
load balance easier by having lots of inexpensive files to work on with
the other cores.

The net result is that it saves another 15 seconds of wall clock time
when building with 24 cores, down from about 2 minutes (so around another
12%).
@lgritz lgritz merged commit 7956ff0 into AcademySoftwareFoundation:master Nov 24, 2017
@lgritz lgritz deleted the lg-compilefast branch November 24, 2017 18:15
GerHobbelt pushed a commit to GerHobbelt/oiio that referenced this pull request Dec 10, 2024
* Fix documentation build on Doxygen 1.9.7

Signed-off-by: Rémi Achard <remiachard@gmail.com>

* Remove doxygen group names

Signed-off-by: Rémi Achard <remiachard@gmail.com>

* Remove remaining doxygen group

Signed-off-by: Rémi Achard <remiachard@gmail.com>

---------

Signed-off-by: Rémi Achard <remiachard@gmail.com>
GerHobbelt pushed a commit to GerHobbelt/oiio that referenced this pull request Dec 10, 2024
…Foundation#1812)

* Fix documentation build (AcademySoftwareFoundation#1809)

* Fix documentation build on Doxygen 1.9.7

Signed-off-by: Rémi Achard <remiachard@gmail.com>

* Remove doxygen group names

Signed-off-by: Rémi Achard <remiachard@gmail.com>

* Remove remaining doxygen group

Signed-off-by: Rémi Achard <remiachard@gmail.com>

---------

Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Brooke <beg9562@rit.edu>

* Updated documentation as 3D LUTs can now be inverted

Signed-off-by: Brooke <brkglvn@gmail.com>
Signed-off-by: Brooke <beg9562@rit.edu>

---------

Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Brooke <beg9562@rit.edu>
Signed-off-by: Brooke <brkglvn@gmail.com>
Co-authored-by: Rémi Achard <remiachard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant