Skip to content

Commit 73dbbc8

Browse files
committed
Switch fast math off by default
1 parent a38d5cf commit 73dbbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(GPU_RUNTIME "CUDA" CACHE STRING "HIP or CUDA or MPS")
66
set(OPENCV_DIR "OPENCV_DIR-NOTFOUND" CACHE PATH "Path to the OPENCV installation directory")
77
set(OPENSPLAT_MAX_CUDA_COMPATIBILITY OFF CACHE BOOL "Build for maximum CUDA device compatibility")
88
set(OPENSPLAT_BUILD_VISUALIZER OFF CACHE BOOL "Build visualizer application")
9-
set(OPENSPLAT_USE_FAST_MATH ON CACHE BOOL "Enable fast math optimizations for GPU kernels (-use_fast_math / -ffast-math)")
9+
set(OPENSPLAT_USE_FAST_MATH OFF CACHE BOOL "Enable fast math optimizations for GPU kernels (-use_fast_math / -ffast-math)")
1010

1111
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
1212

0 commit comments

Comments
 (0)