Cary Knoop
22nd September 2018, 17:48
What is the best practice to 'rotate' GPUs for filters that use the GPU?
I changed some py scrips adding a GPU parameter on invocation, but how to segment frames to distribute the work?
SelectEvery() is a way to segment them but the downside is that this won't work for filters that use neighboring frames.
Selecting frames based on the modulus of the frame number would avoid that. Using something similar to FrameEval would accomplish this if input parameters to filters could be passed on.
Alternatively, VS could perhaps expose a GPU_ID by thread.
What are the possible solutions?
I changed some py scrips adding a GPU parameter on invocation, but how to segment frames to distribute the work?
SelectEvery() is a way to segment them but the downside is that this won't work for filters that use neighboring frames.
Selecting frames based on the modulus of the frame number would avoid that. Using something similar to FrameEval would accomplish this if input parameters to filters could be passed on.
Alternatively, VS could perhaps expose a GPU_ID by thread.
What are the possible solutions?