blender/intern/cycles/bvh
Patrick Mours f4f8b6dde3 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
2021-03-11 14:12:35 +01:00
..
bvh2.cpp Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00
bvh2.h Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00
bvh_binning.cpp Fix Cycles build error without Embree on Windows 2021-03-01 16:33:31 +01:00
bvh_binning.h
bvh_build.cpp Cycles: add utility functions for zero float2/float3/float4/transform 2021-02-17 16:26:24 +01:00
bvh_build.h
bvh_embree.cpp macOS: fix Cycles not detecting 64 bit and failing to build with Embree 2021-02-15 20:22:34 +01:00
bvh_embree.h Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00
bvh_multi.cpp Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00
bvh_multi.h Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00
bvh_node.cpp
bvh_node.h
bvh_optix.cpp Cycles: Change device-only memory to actually only allocate on the device 2021-03-11 14:12:35 +01:00
bvh_optix.h Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00
bvh_params.h
bvh_sort.cpp
bvh_sort.h
bvh_split.cpp Cycles API: encapsulate Node socket members 2020-11-04 13:03:33 +01:00
bvh_split.h Spelling: It's Versus Its 2020-10-19 08:12:33 -07:00
bvh_unaligned.cpp Cycles API: encapsulate Node socket members 2020-11-04 13:03:33 +01:00
bvh_unaligned.h
bvh.cpp Cycles: refactor intrinsic functions implementation 2021-02-17 16:26:24 +01:00
bvh.h Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00
CMakeLists.txt Cycles: Add CPU+GPU rendering support with OptiX 2020-12-11 13:24:29 +01:00