Blender Git Loki

Git Commits -> Revision fa352bb

Revision fa352bb by Brecht Van Lommel (master)
September 27, 2013, 19:09 (GMT)
Fix #35684: cycles unable to use full 6GB of memory on NVidia Titan GPU. We now
use arrays instead of textures for general storage on this card (image textures
are still stored as texture). Textures were found to be faster on older cards,
but the limits on 1D texture size have not increased along with the memory size,
which meant that the full 6 GB could not be used.

The performance actually seems to be slightly better with arrays in some tests
on Titan. For older cards there seems to be a bit of a mix, some are better and
others not. We may change those to use arrays too, but more testing is needed,
only Titan and Tesla K20 (sm_35) is changed for now.

The fact that arrays are faster is a bit surprising, as others found textures
to be faster on Kepler. However even if they were, the memory limitation is
more important to solve anyway.
https://research.nvidia.com/publication/understanding-efficiency-ray-traversal-gpus-kepler-and-fermi-addendum

Commit Details:

Full Hash: fa352bb749da131ff36701240fe8b03dada3131c
SVN Revision: 60400
Parent Commit: dad3786
Lines Changed: +140, -67

5 Modified Paths:

/intern/cycles/device/device_cuda.cpp (+102, -63) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+15, -4) (Diff)
/intern/cycles/kernel/kernel_compat_cuda.h (+11, -0) (Diff)
/intern/cycles/kernel/kernel_globals.h (+4, -0) (Diff)
/intern/cycles/kernel/kernel_primitive.h (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021