Blender Git Commit Log

Git Commits -> Revision 4fbeb3e

Revision 4fbeb3e by James Horsley (master)
January 27, 2021, 14:27 (GMT)
Fix T85089: Crash when rendering scene that does not fit into GPU memory with CUDA/OptiX

The "cuda_mem_map_mutex" was potentially being locked recursively during the call to
"CUDADevice::move_textures_to_host", which crashed. This moves around the locking and
unlocking of "cuda_mem_map_mutex", so that it doesn't call a function that locks it while
still holding the lock.

Reviewed By: pmoursnv

Maniphest Tasks: T85089, T84734

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

Commit Details:

Full Hash: 4fbeb3e6be3ed03e55ebd8a9d41c80c2a4f08815
Parent Commit: cd24712
Committed By: Patrick Mours
Lines Changed: +9, -13

1 Modified Path:

/intern/cycles/device/cuda/device_cuda_impl.cpp (+9, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021