Open slizzered opened 10 years ago
Other solution (thanks to Malte): Split the prism array, then compute the prefix sum for each sub-array, correct the indices, and have several ray-schedules. Each of these can be started in its own kernel. Will need more kernels, but can keep the kernel code itself unchanged
We really have to talk about this solution personally ^^ ...I really do not understand it :santa:
Why is there a Santa? I really don't understand it. Personal chat about Santa anyone?
This is the hint to Santa, that he shall give me a bigger graphics card with more memory than I can think of. So, there is no need to split arrays ...Santa do you here me ???
I probably explained it badly ^^. We can talk in person and I do some nice drawings and all will become clear :icecream:
Most basic, yet powerful solution: use a multiplicator for the rays (for each ray in the schedule, start N rays from that prism)
Will enhance the
--rays=
switch, since it is no longer limited to a magic constant