Blender Git Loki
Git Commits -> Revision fbed204
Revision fbed204 by Sergey Sharybin (master) September 4, 2014, 11:25 (GMT) |
Fix wrong track of the memory when doing device vector resize before freeing it This is rather legit case which happens i.e. when having persistent images enabled and session is updating the lookup tables. Now device_memory keeps track of amount of memory being allocated on the device, which makes freeing using the proper allocated size, not the CPU side buffer size. |
Commit Details:
Full Hash: fbed2047c8e84a535c32bf3f3fb3ea1791a08571
Parent Commit: 5e3b63a
Lines Changed: +30, -15