Page 1 of 1

Two tasks on gpu and cpu on the same computers

Posted: Thu Oct 29, 2020 6:10 pm
by zztopless
Hi!

Is it possible to somehow simultaneously run two tasks on gpu and cpu on the same computers? I haven't found how to do this. Now I have to set one task on gpu using afanasy and another one manually on cpu. Because if the renderer is on a cpu or gpu, then afanasy considers that the computer is busy and it is unavailable.

Re: Two tasks on gpu and cpu on the same computers

Posted: Fri Oct 30, 2020 7:01 am
by timurhai
Hi!
Afanasy render can run any number of tasks.
Busy - means that it runs at least one task, and it does not mean that it can't take another one.

Any task (job block) has a capacity.
Render with 2000 capacity can run 2 tasks with 100 capacity, or 1x1000 and 2x500, or 8x250 and so on.
Also there is a max_tasks limit, to not let render to run 2000 tasks with 1 capacity.
You can manipulate renders capacity and limits via pools:
https://cgru.readthedocs.io/en/latest/a ... parameters