Myrsloik
22nd May 2026, 19:07
Thanks. Looking at cnr2, an AI tells me the algorithm definitely relies on serial. So:
should I ask here if fmFrameState is a total no-no or over on github as an issue ?
The problem is that it doesn't work the way people think it works. Filters that rely on feedback (uses the output for frame n-1 to generate frame n) don't work well with frame level threading.
What you can generally do with these kinds of algorithms is figure out how many frames back actually have a meaningful contribution to the output and then turn simply use that shorter sequence as input and compute that, in parallel, for every output frame.
How many frames is that you ask? Either you stare at the filtering expression and try to reason around how many % change one frame can have at most. Or alternatively you make it configurable and use visual comparison to brute force a solution.
should I ask here if fmFrameState is a total no-no or over on github as an issue ?
The problem is that it doesn't work the way people think it works. Filters that rely on feedback (uses the output for frame n-1 to generate frame n) don't work well with frame level threading.
What you can generally do with these kinds of algorithms is figure out how many frames back actually have a meaningful contribution to the output and then turn simply use that shorter sequence as input and compute that, in parallel, for every output frame.
How many frames is that you ask? Either you stare at the filtering expression and try to reason around how many % change one frame can have at most. Or alternatively you make it configurable and use visual comparison to brute force a solution.