sparkle
sparkle copied to clipboard
problem on multi GPU configuration
First of all, thanks for very useful example of compute shaders code.
On notebook program work well, but on desktop with 2 nvidia1080 cards, program crashed.
on line 121 of picture. this is append_consume_buffer.
When comment lines from 119 to 122 program work, but think that num alived particles is 0. Do you have some ideas how to correct this?
Hey geotyper, thanks for your feedback.
Mmh I'm not sure, I had never try it on that setup but it's probably a synchronization issue (that or a frame discrepancy due to a trick used to avoid a read back). You might want to put memory barriers around it.
If you found something I'm interested.