Skip to content

Commit

Permalink
Re-enabled some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Jan 9, 2025
1 parent 07cb891 commit 50aa27a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tiny_bvh_speedtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

// tests to perform
// #define BUILD_MIDPOINT
// #define BUILD_REFERENCE
// #define BUILD_DOUBLE
#define BUILD_REFERENCE
#define BUILD_DOUBLE
#define BUILD_AVX
#define BUILD_NEON
// #define BUILD_SBVH
#define BUILD_SBVH
#define REFIT_BVH2
#define REFIT_MBVH4
#define REFIT_MBVH8
Expand Down Expand Up @@ -529,7 +529,7 @@ int main()
{
BVH tmpBVH;
tmpBVH.Build( triangles, verts / 3 );
for (int pass = 0; pass < 10; pass++)
for (int pass = 0; pass < 10; pass++)
{
if (pass == 1) t.reset();
tmpBVH.Refit();
Expand All @@ -548,7 +548,7 @@ int main()
{
MBVH<4> tmpBVH4;
tmpBVH4.Build( triangles, verts / 3 );
for (int pass = 0; pass < 10; pass++)
for (int pass = 0; pass < 10; pass++)
{
if (pass == 1) t.reset();
tmpBVH4.Refit();
Expand All @@ -567,7 +567,7 @@ int main()
{
MBVH<8> tmpBVH8;
tmpBVH8.Build( triangles, verts / 3 );
for (int pass = 0; pass < 10; pass++)
for (int pass = 0; pass < 10; pass++)
{
if (pass == 1) t.reset();
tmpBVH8.Refit();
Expand Down

0 comments on commit 50aa27a

Please sign in to comment.