Blender Git Commit Log

Git Commits -> Revision f4f8b6d

Revision f4f8b6d by Patrick Mours (master)
March 11, 2021, 13:12 (GMT)
Cycles: Change device-only memory to actually only allocate on the device

This patch changes the `MEM_DEVICE_ONLY` type to only allocate on the device and fail if
that is not possible anymore because out-of-memory (since OptiX acceleration structures may
not be allocated in host memory). It also fixes high peak memory usage during OptiX
acceleration structure building.

Reviewed By: brecht

Maniphest Tasks: T85985

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

Commit Details:

Full Hash: f4f8b6dde32b0438e0b97a6d8ebeb89802987127
Parent Commit: ba996dd
Lines Changed: +33, -18

6 Modified Paths:

/intern/cycles/bvh/bvh_optix.cpp (+2, -2) (Diff)
/intern/cycles/device/cuda/device_cuda_impl.cpp (+9, -3) (Diff)
/intern/cycles/device/device_cpu.cpp (+2, -3) (Diff)
/intern/cycles/device/device_denoising.h (+2, -1) (Diff)
/intern/cycles/device/device_memory.h (+2, -2) (Diff)
/intern/cycles/device/device_optix.cpp (+16, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021