You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ACES v2 Output Transform code builds a table using a binary search algorithm which has a very large number of operations performed in sequence. There is a point when the number of operations exceeds the limit and an exception is thrown without much other context provided.
It seems there is an arbitrary limit on CTL instructions that the iterative search is surpassing.
Proven fix
A fix for this that I'm successfully tested and been able to use.: @michaeldsmith helped me trace the exception down to a value in \lib\IlmCtlSimd\CtlSimdInterpreter.cpp
The specific line is _data->maxInstCount = 10000000;
And adding a factor of 10 to it seems sufficient to no longer reach the threshold: _data->maxInstCount = 10*10000000;
I expect others will encounter this limitation if they too try to run the v2 Output Transforms, so I suggest increasing the value of this variable to a larger number.
The text was updated successfully, but these errors were encountered:
The ACES v2 Output Transform code builds a table using a binary search algorithm which has a very large number of operations performed in sequence. There is a point when the number of operations exceeds the limit and an exception is thrown without much other context provided.
It seems there is an arbitrary limit on CTL instructions that the iterative search is surpassing.
Proven fix
A fix for this that I'm successfully tested and been able to use.:
@michaeldsmith helped me trace the exception down to a value in
\lib\IlmCtlSimd\CtlSimdInterpreter.cpp
The specific line is
_data->maxInstCount = 10000000;
And adding a factor of 10 to it seems sufficient to no longer reach the threshold:
_data->maxInstCount = 10*10000000;
I expect others will encounter this limitation if they too try to run the v2 Output Transforms, so I suggest increasing the value of this variable to a larger number.
The text was updated successfully, but these errors were encountered: