Blender Git Loki

Git Commits -> Revision c621832

Revision c621832 by Brecht Van Lommel (master)
January 2, 2018, 22:50 (GMT)
Cycles: CUDA support for rendering scenes that don't fit on GPU.

In that case it can now fall back to CPU memory, at the cost of reduced
performance. For scenes that fit in GPU memory, this commit should not
cause any noticeable slowdowns.

We don't use all physical system RAM, since that can cause OS instability.
We leave at least half of system RAM or 4GB to other software, whichever
is smaller.

For image textures in host memory, performance was maybe 20-30% slower
in our tests (although this is highly hardware and scene dependent). Once
other type of data doesn't fit on the GPU, performance can be e.g. 10x
slower, and at that point it's probably better to just render on the CPU.

Differential Revision: https://developer.blender.org/D2056

Commit Details:

Full Hash: c621832d3d358cd7648d60c16e1685050c4f6778
Parent Commit: 6699454
Lines Changed: +294, -22

6 Modified Paths:

/intern/cycles/device/device_cuda.cpp (+255, -16) (Diff)
/intern/cycles/device/device_memory.cpp (+2, -1) (Diff)
/intern/cycles/device/device_memory.h (+3, -0) (Diff)
/intern/cycles/device/device_multi.cpp (+11, -5) (Diff)
/intern/cycles/util/util_system.cpp (+21, -0) (Diff)
/intern/cycles/util/util_system.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021