Blender Git Loki

Git Commits -> Revision e1a4e86

Revision e1a4e86 by Sergey Sharybin (cycles-x)
February 23, 2021, 13:18 (GMT)
Refactor: Move Cycles devices to sub-folders

The idea is to have per-device type folder, where more than one file is
allowed to be existing. This is something what was already happening
for CUDA and OpenCL devices. Do the same for CPU and OptiX. Also move
the device implementation files to the folder.

The way how OpenCL and OptiX class hierarchy is implemented needs a bit
of refactor to streamline it. It will happen when we will be adding
support of CUDA and OptiX back.

Commit Details:

Full Hash: e1a4e86ec77706a4c1f929e7ac8630917fc74f73
Parent Commit: 08c62c0
Lines Changed: +4993, -4971

6 Added Paths:

/intern/cycles/device/cpu/device_cpu.cpp (+1619, -0) (View)
/intern/cycles/device/cuda/device_cuda.cpp (+316, -0) (View)
/intern/cycles/device/dummy/device_dummy.cpp (+90, -0) (View)
/intern/cycles/device/multi/device_multi.cpp (+826, -0) (View)
/intern/cycles/device/opencl/device_opencl.cpp (+242, -0) (View)
/intern/cycles/device/optix/device_optix.cpp (+1871, -0) (View)

6 Deleted Paths:

/intern/cycles/device/device_cpu.cpp (+0, -1619)
/intern/cycles/device/device_cuda.cpp (+0, -316)
/intern/cycles/device/device_dummy.cpp (+0, -90)
/intern/cycles/device/device_multi.cpp (+0, -826)
/intern/cycles/device/device_opencl.cpp (+0, -242)
/intern/cycles/device/device_optix.cpp (+0, -1871)

1 Modified Path:

/intern/cycles/device/CMakeLists.txt (+29, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021