diff options
author | Patrick Mours <pmours@nvidia.com> | 2021-03-03 16:35:50 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2021-03-11 16:12:35 +0300 |
commit | f4f8b6dde32b0438e0b97a6d8ebeb89802987127 (patch) | |
tree | 9cab5fe3998b72e481238289c5298b8a16dc7445 /intern/cycles/bvh/bvh_optix.h | |
parent | ba996ddb3a3a49065d26ff1010790b17bc8709ec (diff) |
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
Diffstat (limited to 'intern/cycles/bvh/bvh_optix.h')
0 files changed, 0 insertions, 0 deletions