Blender Git Commit Log

Git Commits -> Revision 42aeb60

Revision 42aeb60 by Sergey Sharybin (master)
October 12, 2016, 12:11 (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: 42aeb608e75ec976c0bb3d91ca14b49371e43e6d
Parent Commit: 6a4ec3c
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