Blender Git Loki
Git Commits -> Revision 5a93d51
Revision 5a93d51 by Sergey Sharybin (cycles-x) March 4, 2021, 13:59 (GMT) |
Cycles: Remove DeviceWorkTile It is really the same as KernelWorkTile, especially after we remove the buffer pointer (hopefully, in the future). There is no need to have a duplicate entity, just use KernelWorkTIle in the API. Simplifies some of initialization when passing work tile to an actual kernels. Opens possibility to schedule multiple samples to GPU. Had to introduce min(uint, uint) and solve some introduced deduction issues by mix of int and uint in the existing code. |
Commit Details:
Full Hash: 5a93d5149f79e75f0080e5be95ba89d97cb5df80
Parent Commit: 78145b5
Lines Changed: +52, -93
14 Modified Paths:
/intern/cycles/device/cpu/device_queue.cpp (+3, -24) (Diff)
/intern/cycles/device/cpu/device_queue.h (+2, -2) (Diff)
/intern/cycles/device/cuda/device_cuda_impl.cpp (+2, -2) (Diff)
/intern/cycles/device/cuda/queue.cpp (+6, -27) (Diff)
/intern/cycles/device/cuda/queue.h (+1, -1) (Diff)
/intern/cycles/device/device_queue.h (+4, -16) (Diff)
/intern/cycles/integrator/path_trace_work_pixel.cpp (+8, -7) (Diff)
/intern/cycles/integrator/path_trace_work_pixel.h (+2, -2) (Diff)
/intern/cycles/integrator/path_trace_work_tiled.cpp (+4, -2) (Diff)
/intern/cycles/integrator/path_trace_work_tiled.h (+2, -2) (Diff)
/intern/cycles/integrator/work_scheduler.cpp (+7, -6) (Diff)
/intern/cycles/integrator/work_scheduler.h (+3, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/util/util_math.h (+5, -0) (Diff)
/intern/cycles/device/cpu/device_queue.h (+2, -2) (Diff)
/intern/cycles/device/cuda/device_cuda_impl.cpp (+2, -2) (Diff)
/intern/cycles/device/cuda/queue.cpp (+6, -27) (Diff)
/intern/cycles/device/cuda/queue.h (+1, -1) (Diff)
/intern/cycles/device/device_queue.h (+4, -16) (Diff)
/intern/cycles/integrator/path_trace_work_pixel.cpp (+8, -7) (Diff)
/intern/cycles/integrator/path_trace_work_pixel.h (+2, -2) (Diff)
/intern/cycles/integrator/path_trace_work_tiled.cpp (+4, -2) (Diff)
/intern/cycles/integrator/path_trace_work_tiled.h (+2, -2) (Diff)
/intern/cycles/integrator/work_scheduler.cpp (+7, -6) (Diff)
/intern/cycles/integrator/work_scheduler.h (+3, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/util/util_math.h (+5, -0) (Diff)