We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4547427 + 0a48b9a commit eca7523Copy full SHA for eca7523
cmake/OpenCVDetectCUDA.cmake
@@ -138,6 +138,7 @@ if(CUDA_FOUND)
138
set(OPENCV_CUDA_ARCH_FEATURES "${OPENCV_CUDA_ARCH_FEATURES} ${ARCH}")
139
endif()
140
endforeach()
141
+ set(NVCC_FLAGS_EXTRA ${NVCC_FLAGS_EXTRA} -D_FORCE_INLINES)
142
143
# Tell NVCC to add PTX intermediate code for the specified architectures
144
string(REGEX MATCHALL "[0-9]+" ARCH_LIST "${ARCH_PTX_NO_POINTS}")
0 commit comments