[Bf-cycles] extending Cycles to use all devices "CPU + CUDA"

Mohamed Sakr 3dsakr at gmail.com
Thu Sep 10 02:33:21 CEST 2015

sorry for recreating with the same name "previous mail got deleted".

I got a good idea Sergey which may solve most of the problem:
consider you have many devices "CPU + some GPUs, even if you have a crazy
system with both NVidia and AMD together (not sure if it is a possible case
thought :)"

now you have many samples to do, consider 100 samples.
each task got a sample counter "0-99" , this will be extended a little!, a
buffer which will have sample count "spp".

this buffer will get accessed by each task at the start of the sampling
"before generating camera rays" , as the same RNG is generated (probably
depending mainly on sample number/pixel x,y position) , this will work!

so a CPU may render its own samples "full image" , rendering for example 15
and a GPU will render its own samples "full image" , in that case 85 spp.

utilizing both CPU and GPU, each one will be consistent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20150910/9985eea2/attachment.htm 

More information about the Bf-cycles mailing list