Skip to content

Commit ae2c8e7

Browse files
authored
Merge pull request #23 from GPUOpen-LibrariesAndSDKs/bugfix/HRTSDK-0-cuda-fixes
Removing conflicting constants
2 parents a00b479 + 38b8e05 commit ae2c8e7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tutorials/common/Aabb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ struct Aabb
4444

4545
HOST_DEVICE INLINE void reset( void )
4646
{
47-
m_min = make_hiprtFloat3( FltMax, FltMax, FltMax );
48-
m_max = make_hiprtFloat3( -FltMax, -FltMax, -FltMax );
47+
m_min = make_hiprtFloat3( hiprt::FltMax, hiprt::FltMax, hiprt::FltMax );
48+
m_max = make_hiprtFloat3( -hiprt::FltMax, -hiprt::FltMax, -hiprt::FltMax );
4949
}
5050

5151
HOST_DEVICE INLINE Aabb& grow( const hiprtFloat3& p )

tutorials/common/Common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
#include <cmath>
3232
#endif
3333

34-
constexpr float FltMin = 1.175494351e-38f;
35-
constexpr float FltMax = 3.402823466e+38f;
36-
3734
#if !defined( __KERNELCC__ )
3835
#define HOST
3936
#define DEVICE

0 commit comments

Comments
 (0)