* Update config default version and optimization enhancements.
Default config version is now the latest version (2 for the time being).
Tests have been adjusted to take this into account.
New optimization flag: OPTIMIZATION_SIMPLIFY_OPS: break down certain ops into simpler ops whne possible. Today, only CDL make use of this, and could be replaced by a matrix when possible. The goal is to avoid complex functions and allow more ops to be combined. The flag is enabled with the default optimization.
New optimization flag: OPTIMIZATION_FAST_LOG_EXP_POW: SSE implementation of log, power, exp is faster but less precise. When this new flag is set the fast implement is used, else the non SSE implementation is used. Optimization default does not include the file, so the non SSE version is used. This applies to CDL, ExposureContrast, Gamma, Log (ut not to legacy Exponent).
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Change baker test from a string compare to a value compare to fix failing test on one windows target
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Fix config tests after merge from master
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Expose added flags to python
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Review ops finalization.
- ops are only finalized once.
- clarify LUT inversion
- move direction to MatrixOpData and RangeOpData
- change how FixedFunction surround inverse is saved
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Fix build after merge from main.
- adjust gpu test set-up.
- expose new api function to python.
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
Co-authored-by: Patrick Hodoul <patrickhodoul@gmail.com>