Blender Git Commit Log

Git Commits -> Revision c01d7c8

January 20, 2017, 10:25 (GMT)
Cycles: Implement AVX2 version of triangle_intersect

This commit basically vectorizes existing code using AVX2 instructions
(without modifying algorithm itself). This gives quite nice speedups:

BMW: -8%
Classroom: -5%
Cat: -5%
Koro: +1%
Barcelona: -8%

That's on Linux machine, reported performance improvement on Windows
goes up to 20%.

Not currently sure why Koro is somewhat slower because it mainly uses
curve intersection tests, could be a time noise? Or osmething with the
cache utilization perhaps? In any case speedup in other scenes makes
me thinking that current state is acceptable for initial implementation.

This is again inspired by Maxym Dmytrychenko.

Commit Details:

Full Hash: c01d7c8a8f74605259af42ca57d85bfa401757eb
Parent Commit: 804d471
Lines Changed: +62, -0

1 Modified Path:

/intern/cycles/kernel/geom/geom_triangle_intersect.h (+62, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021