diff --git a/cmake/detray-compiler-options-cuda.cmake b/cmake/detray-compiler-options-cuda.cmake index c5c1d1a06..6ce260148 100644 --- a/cmake/detray-compiler-options-cuda.cmake +++ b/cmake/detray-compiler-options-cuda.cmake @@ -29,9 +29,6 @@ if("${CMAKE_CUDA_COMPILER_ID}" MATCHES "NVIDIA") # Allow to use functions in device code that are constexpr, even if they are # not marked with __device__. detray_add_flag( CMAKE_CUDA_FLAGS "--expt-relaxed-constexpr" ) - - # Turn off fast math for the device code. - detray_add_flag( CMAKE_CUDA_FLAGS "-fmad=false" ) endif() # Make CUDA generate debug symbols for the device code as well in a debug