blender/intern/cycles/device/hiprt
salipour b491002a9d Fix: Cyles HIP-RT random crashes editing the scene
Perform delayed freeing of the geometry BVHs similar to OptiX.

Previously BLAS memory was allocated in the device class as part of
device_update, but released in the BVHHIPRT destructor which gets called
when deleting geometry outside of device_update.

To avoid the GPU accessing unmapped memory, do a delayed free of this
memory in the device class as part of either device_update or device
destruction. This ensures it is in sync with other device memory changes.

Fix #148276
Fix #139013
Fix #138043
Fix #140763

Pull Request: https://projects.blender.org/blender/blender/pulls/147247
2025-10-17 16:32:23 +02:00
..
device_impl.cpp Fix: Cyles HIP-RT random crashes editing the scene 2025-10-17 16:32:23 +02:00
device_impl.h Fix: Cyles HIP-RT random crashes editing the scene 2025-10-17 16:32:23 +02:00
queue.cpp Fix: Cycles log levels conflict with macros on some platforms 2025-07-10 19:44:14 +02:00
queue.h Refactor: Cycles: Automated clang-tidy fixups in Cycles 2025-01-03 10:22:55 +01:00