Blender Git Loki

Git Commits -> Revision c232be7

Revision c232be7 by Brecht Van Lommel (cycles-x)
July 15, 2021, 11:55 (GMT)
Cycles X: restore estimation of kernel memory usage for host memory fallback

This makes it so that we don't allocate scene memory on the device, only to
then find out later it has to move back to the host.

Integrator working memory is now allocated before loading the kernels and
allocating scene memory. This way it is included in the estimated kernel
memory usage, and makes it less likely to be moved to the host.

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

Commit Details:

Full Hash: c232be7866f03aec6c3167f88fe116bb8472b8a0
Parent Commit: 289a173
Lines Changed: +80, -73

12 Modified Paths:

/intern/cycles/device/cuda/device_impl.cpp (+23, -32) (Diff)
/intern/cycles/integrator/path_trace.cpp (+7, -0) (Diff)
/intern/cycles/integrator/path_trace.h (+4, -0) (Diff)
/intern/cycles/integrator/path_trace_work.h (+3, -0) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+12, -9) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.h (+1, -0) (Diff)
/intern/cycles/kernel/integrator/integrator_subsurface.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_shader.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+4, -4) (Diff)
/intern/cycles/render/scene.cpp (+14, -18) (Diff)
/intern/cycles/render/scene.h (+1, -4) (Diff)
/intern/cycles/render/session.cpp (+8, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021