[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57543] trunk/blender/intern/cycles: Cycles: optimization for BVH traveral on CPU's with SSE3, using code from Embree.

Thomas Dinges blender at dingto.org
Tue Jun 18 12:09:53 CEST 2013


Hi Brecht,
great work, thank you! On Linux I get a nice speedup. :)

Windows fails to compile for me though (vc2008).

Linking library ==> 'bf_intern_cycles_sse2.lib'
kernel_sse3.cpp
d:\blender_dev\code\trunk\intern\cycles\kernel\svm\svm_noise.h(38) : 
fatal error
  C1001: Internal compile error.
(Compilerdatei 
"f:\dd\vctools\compiler\utc\src\p2\main.c[0x00000000604E0000:0x00
000000604E0000]", Zeile 182)

Any idea? I tried a full clean build already.

Thanks,
Thomas

Am 18.06.2013 11:36, schrieb Brecht Van Lommel:
> Revision: 57543
>            http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57543
> Author:   blendix
> Date:     2013-06-18 09:36:06 +0000 (Tue, 18 Jun 2013)
> Log Message:
> -----------
> Cycles: optimization for BVH traveral on CPU's with SSE3, using code from Embree.
>
> On the BMW scene, this gives roughly a 10% speedup overall with clang/gcc, and 30%
> speedup with visual studio (2008). It turns out visual studio was optimizing the
> existing code quite poorly compared to pretty good autovectorization by clang/gcc,
> but hand written SSE code also gives a smaller speed boost there.
>
> This code isn't enabled when using the hair minimum width feature yet, need to
> make that work with the SSE code still.

-- 
Thomas Dinges
Blender Developer, Artist and Musician

www.dingto.org



More information about the Bf-committers mailing list