diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2019-03-14 13:45:58 +0300 |
---|---|---|
committer | Stefan Werner <stefan.werner@tangent-animation.com> | 2019-03-14 13:45:58 +0300 |
commit | 47da8dcbcad4ccc5349bc303394e1d01d1c822c5 (patch) | |
tree | ab41c5c2b20e52607e187e4565132d3a5fb4255c /intern/cycles/render/session.h | |
parent | 4887baf7d69c6c44c265044600ec00c77e9aa406 (diff) |
Cycles: Improved thread order for better CUDA performance.
This patch puts threads that render the same pixel closer together,
as opposed to threads that render the same sample. Thus threads
within a warp are more coherent in memory access and control flow,
leading to performance improvements.
Example benchmarks on a Quadro RTX4000 (WDDM) on Windows 10:
Koro: 4:23 -> 3:46
BMW: 1:18 -> 1:25
Barbershop Interior: 17:52 -> 14:55
Classroom: 4:37 -> 3:45
Performance differences on OpenCL/AMD were hit and miss, some scenes
became faster, others lost significantly. Therefore, this is kept as
CUDA only change for now.
Diffstat (limited to 'intern/cycles/render/session.h')
0 files changed, 0 insertions, 0 deletions