Cuda use streams and async to avoid busywaiting
authorMartijn Berger <martijn.berger@gmail.com>
Thu, 6 Mar 2014 19:51:13 +0000 (20:51 +0100)
committerMartijn Berger <martijn.berger@gmail.com>
Thu, 6 Mar 2014 19:51:46 +0000 (20:51 +0100)
commit1d016758330b7e328758b3df28ea93a19d47fcdc
treee69b3194d8b51ec284a47ad79b2e7f3a17fe424b
parent03afa6f9e7546d26766f0ac7bdb23da56a708306
Cuda use streams and async to avoid busywaiting

This switches api usage for cuda towards using more of the Async calls.

Updating only once every second is sufficiently cheap that I don't think it is worth doing it less often.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D262
intern/cycles/device/device_cuda.cpp