Blender Git Commit Log

Git Commits -> Revision 51839c1

Revision 51839c1 by Brecht Van Lommel (cycles-x)
July 14, 2021, 15:23 (GMT)
Cycles X: use less memory for float3 integrator state on GPU

Allocate different device_only_memory size depending if the device is CPU
or GPU, since for GPU we don't align to 16 bytes for SSE.

Also adds some sanity checks and ensure float3 is not used in device_vector
since it's incompatible for sharing data between CPU and GPU.

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

Commit Details:

Full Hash: 51839c10d109a6c84e4f107d264bc5cdfd0c228e
Parent Commit: 4cf3efa
Lines Changed: +84, -28

3 Modified Paths:

/intern/cycles/device/device_memory.cpp (+6, -1) (Diff)
/intern/cycles/device/device_memory.h (+76, -25) (Diff)
/intern/cycles/device/optix/device_impl.cpp (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021