Commit 8abcad6b authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed CUDA_FAST_MATH flag

parent a390c1e2
...@@ -81,7 +81,7 @@ if(CUDA_FOUND) ...@@ -81,7 +81,7 @@ if(CUDA_FOUND)
OCV_OPTION(CUDA_FAST_MATH "Enable --use_fast_math for CUDA compiler " OFF) OCV_OPTION(CUDA_FAST_MATH "Enable --use_fast_math for CUDA compiler " OFF)
if(ENABLE_CUDA_MATH) if(CUDA_FAST_MATH)
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} --use_fast_math) set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} --use_fast_math)
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment