diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2017-05-12 02:23:49 +0300 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2017-06-08 12:35:26 +0300 |
commit | e1805299d2f43f8ab473a979bafc7a8b57d9270b (patch) | |
tree | 130775f29226ccc33749c001fb5c02d6c657ac93 /source/blender/python/api2_2x/EXPP_interface.h | |
parent | e7ad962a40f12280ab0b40026d839e2562bfbbc2 (diff) |
Cycles: Pass all buffers to each kernel call for OpenCL
Technically not passing all buffers used by a kernel is undefined
behavior. We haven't had any issues with this so far on AMD or
Nvidia, but it's known to be a problem with Intel and we received
a report from AMD that this is a problem on newer hardware, so we
need to make this change at some point.
Unfortunately there a cost to being correct, about 5% for the
benchmark scenes. For low sample counts it's even worse, I've
seen up to 50% slowdown. For the latter case I think adjusting
tile updating logic can help, but not sure what that would look
like yet (it would be just a few lines change however).
Diffstat (limited to 'source/blender/python/api2_2x/EXPP_interface.h')
0 files changed, 0 insertions, 0 deletions