mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
PyCUDA implementation of a GPU-accelerated fractal flame renderer.
618b51b1b1
When the alpha channel is used in a color palette, the code now replaces the blue channel in the accumulation buffer with a pair of two U16s, which encode the values of the blue and alpha channels as a fraction of the value of the density. When the alpha channel is always 1.0, the blue channel works as normal. Density is now always the last element in the accumulation buffer. Eliminating the separate IO operations improved total runtime by more than 30% on my card, while the extra calculations reduced that to 20% when alpha was present (though that can be optimized further). |
||
---|---|---|
cuburn | ||
helpers | ||
bench.py | ||
main.py | ||
README.md | ||
sortbench.cu | ||
sortbench.py |