Blender Git Loki

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:

Commit Details:

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

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2022