blender/intern/cycles/kernel
Patrick Mours 9433b655c3 Cycles: GPU: Optimize parallel prefix sum kernel
Each thread in the launched block runs over a portion of the counter
array. First to calculate a sum of each portion, then summing those across
all threads to get the base offset of each portion, before each thread
does the prefix sum of its local portion again including that base offset.

This could be improved further, but it already solves negative performance
impact when increasing the number of states in the following commit.

Pull Request: https://projects.blender.org/blender/blender/pulls/163930
2026-09-23 15:22:44 +02:00
..
bake
bvh
camera
closure
device Cycles: GPU: Optimize parallel prefix sum kernel 2026-09-23 15:22:44 +02:00
film Cycles: Offset denoising depth by near clip plane 2026-09-23 13:42:21 +02:00
geom
integrator
light
osl
sample
svm
util
CMakeLists.txt
constants.h
data_arrays.h
data_template.h
features.h
globals.h
image.h
tables.h
types.h