Blender Git Commit Log
Git Commits -> Revision 153e001
Revision 153e001 by Patrick Mours (master) February 12, 2020, 12:11 (GMT) |
Cleanup: Move common CUDA/OptiX Cycles device code into separate file This reduces code duplication between the CUDA and OptiX device implementations: The CUDA device class is now split into declaration and definition (similar to the OpenCL device) and the OptiX device class implements that and only overrides the functions it actually has to change, while using the CUDA implementation for everything else. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6814 |
Commit Details:
Full Hash: 153e001c743bf0f6bc259966418446441e00e200
Parent Commit: cc085e2
Lines Changed: +5538, -6498
4 Added Paths:
/intern/cycles/device/cuda/device_cuda.h (+248, -0) (View)
/intern/cycles/device/cuda/device_cuda_impl.cpp (+2502, -0) (View)
/intern/cycles/device/opencl/device_opencl.h (+656, -0) (View)
/intern/cycles/device/opencl/device_opencl_impl.cpp (+2053, -0) (View)
/intern/cycles/device/cuda/device_cuda_impl.cpp (+2502, -0) (View)
/intern/cycles/device/opencl/device_opencl.h (+656, -0) (View)
/intern/cycles/device/opencl/device_opencl_impl.cpp (+2053, -0) (View)
2 Deleted Paths:
/intern/cycles/device/opencl/opencl.h (+0, -656)
/intern/cycles/device/opencl/opencl_split.cpp (+0, -2053)
/intern/cycles/device/opencl/opencl_split.cpp (+0, -2053)
6 Modified Paths:
/intern/cycles/device/CMakeLists.txt (+9, -5) (Diff)
/intern/cycles/device/device_cuda.cpp (+7, -2566) (Diff)
/intern/cycles/device/device_opencl.cpp (+1, -3) (Diff)
/intern/cycles/device/device_optix.cpp (+60, -1213) (Diff)
/intern/cycles/device/opencl/memory_manager.cpp (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_util.cpp (+1, -1) (Diff)
/intern/cycles/device/device_cuda.cpp (+7, -2566) (Diff)
/intern/cycles/device/device_opencl.cpp (+1, -3) (Diff)
/intern/cycles/device/device_optix.cpp (+60, -1213) (Diff)
/intern/cycles/device/opencl/memory_manager.cpp (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_util.cpp (+1, -1) (Diff)