3131#include < map>
3232#include < chrono>
3333
34+ #ifndef HIPRT_PUBLIC_REPO
3435TEST_F ( PerformanceTestCases, AoRayEmbreeHairball )
3536{
3637 constexpr bool Timings = true ;
@@ -48,7 +49,9 @@ TEST_F( PerformanceTestCases, AoRayEmbreeHairball )
4849 render ( " AoRayHairball.png" , " ../test/kernels/AoRayKernel.h" , " AoRayKernel" , " AoRayHairball.png" , Timings, AoRadius );
4950 deleteScene ( m_scene );
5051}
52+ #endif
5153
54+ #ifndef HIPRT_PUBLIC_REPO
5255TEST_F ( PerformanceTestCases, AoRayHairball )
5356{
5457 constexpr bool Timings = true ;
@@ -66,7 +69,9 @@ TEST_F( PerformanceTestCases, AoRayHairball )
6669 render ( " AoRayHairball.png" , " ../test/kernels/AoRayKernel.h" , " AoRayKernel" , " AoRayHairball.png" , Timings, AoRadius );
6770 deleteScene ( m_scene );
6871}
72+ #endif
6973
74+ #ifndef HIPRT_PUBLIC_REPO
7075TEST_F ( PerformanceTestCases, AoRayEmbreeBistro )
7176{
7277 constexpr bool Timings = true ;
@@ -84,7 +89,9 @@ TEST_F( PerformanceTestCases, AoRayEmbreeBistro )
8489 render ( " AoRayEmbreeBistro.png" , " ../test/kernels/AoRayKernel.h" , " AoRayKernel" , " AoRayBistro.png" , Timings, AoRadius );
8590 deleteScene ( m_scene );
8691}
92+ #endif
8793
94+ #ifndef HIPRT_PUBLIC_REPO
8895TEST_F ( PerformanceTestCases, AoRayBistro )
8996{
9097 constexpr bool Timings = true ;
@@ -102,7 +109,9 @@ TEST_F( PerformanceTestCases, AoRayBistro )
102109 render ( " AoRayBistro.png" , " ../test/kernels/AoRayKernel.h" , " AoRayKernel" , " AoRayBistro.png" , Timings, AoRadius );
103110 deleteScene ( m_scene );
104111}
112+ #endif
105113
114+ #ifndef HIPRT_PUBLIC_REPO
106115TEST_F ( PerformanceTestCases, PrimaryRayBistro )
107116{
108117 constexpr uint32_t Option = VisualizeColor;
@@ -121,7 +130,9 @@ TEST_F( PerformanceTestCases, PrimaryRayBistro )
121130 render ( " PrimaryRayBistro.png" , " ../test/kernels/PrimaryRayKernel.h" , kernelName, " PrimaryRayBistro.png" , Timings );
122131 deleteScene ( m_scene );
123132}
133+ #endif
124134
135+ #ifndef HIPRT_PUBLIC_REPO
125136TEST_F ( PerformanceTestCases, BvhFastBistro )
126137{
127138 constexpr uint32_t Option = VisualizeColor;
@@ -140,7 +151,9 @@ TEST_F( PerformanceTestCases, BvhFastBistro )
140151 render ( " BvhFastBistro.png" , " ../test/kernels/PrimaryRayKernel.h" , kernelName, " PrimaryRayBistro.png" , Timings );
141152 deleteScene ( m_scene );
142153}
154+ #endif
143155
156+ #ifndef HIPRT_PUBLIC_REPO
144157TEST_F ( PerformanceTestCases, BvhHighQBistro )
145158{
146159 constexpr uint32_t Option = VisualizeColor;
@@ -159,7 +172,9 @@ TEST_F( PerformanceTestCases, BvhHighQBistro )
159172 render ( " BvhHighQBistro.png" , " ../test/kernels/PrimaryRayKernel.h" , kernelName, " PrimaryRayBistro.png" , Timings );
160173 deleteScene ( m_scene );
161174}
175+ #endif
162176
177+ #ifndef HIPRT_PUBLIC_REPO
163178TEST_F ( PerformanceTestCases, BvhBalancedBistro )
164179{
165180 constexpr uint32_t Option = VisualizeColor;
@@ -178,6 +193,7 @@ TEST_F( PerformanceTestCases, BvhBalancedBistro )
178193 render ( " BvhBalancedBistro.png" , " ../test/kernels/PrimaryRayKernel.h" , kernelName, " PrimaryRayBistro.png" , getTimings );
179194 deleteScene ( m_scene );
180195}
196+ #endif
181197
182198TEST_F ( ObjTestCases, TranslateCornellBox )
183199{
@@ -2683,5 +2699,6 @@ int main( int argc, const char* argv[] )
26832699#endif
26842700
26852701 ::testing::AddGlobalTestEnvironment ( new InitCommandlineArgs( parsedArgs ) );
2686- return RUN_ALL_TESTS ();
2702+ int ret = RUN_ALL_TESTS ();
2703+ return ret;
26872704}
0 commit comments