Text archives Help
- From: boulos@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r985 - trunk/Model/Primitives
- Date: Sun, 12 Mar 2006 22:41:45 -0700 (MST)
Author: boulos
Date: Sun Mar 12 22:41:44 2006
New Revision: 985
Modified:
trunk/Model/Primitives/WaldTriangle.cc
Log:
Removing old performance test (setting the test
for ConstantOrigin to false). This results in
a considerable performance improvement.
Modified: trunk/Model/Primitives/WaldTriangle.cc
==============================================================================
--- trunk/Model/Primitives/WaldTriangle.cc (original)
+++ trunk/Model/Primitives/WaldTriangle.cc Sun Mar 12 22:41:44 2006
@@ -8,7 +8,7 @@
using namespace Manta;
using namespace std;
-#define USE_SIMD 0
+#define USE_SIMD 1
#define USE_ALTIVEC 1
#define USE_SSE 0
@@ -285,7 +285,7 @@
const int ray_begin = rays.begin();
const int ray_end = rays.end();
- const bool RaysConstantOrigin = false;//rays.getAllFlags() &
RayPacket::ConstantOrigin;
+ const bool RaysConstantOrigin = rays.getAllFlags() &
RayPacket::ConstantOrigin;
for ( int ray = sse_begin * 4; ray < ray_begin; ray++ )
{
- [MANTA] r985 - trunk/Model/Primitives, boulos, 03/12/2006
Archive powered by MHonArc 2.6.16.