Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-11-22 19:07:55 +0300
committerSergey Sharybin <sergey@blender.org>2021-11-22 19:26:59 +0300
commit336ca6796a7a6ee26ff6d889643df07a37efa554 (patch)
treef2891e3dabf7d6740978f8ae82a9436d5823b467 /intern/cycles/blender/addon/properties.py
parent25c83c217b1fbf19d67363aa7d5bdeda46b0b6d9 (diff)
Fix T90308: Cycles crash copying memory from device to host
Happens when device runs out of memory and Cycles is moving some textures to the host memory. The delayed memory free for OptiX BVH was moving data from one device_memory to another, leaving the original device memory in an invalid state. This was ruining the allocation map in the CUDA device which is using pointer to the device_memory. This change makes it so the memory pointer is stolen from BVH into the delayed memory free list. Additionally, forbid copying and moving instances of device_memory and added sanity checks in the device implementation. Differential Revision: https://developer.blender.org/D13316
Diffstat (limited to 'intern/cycles/blender/addon/properties.py')
0 files changed, 0 insertions, 0 deletions