setUpNet DNN module was not built with CUDA backend; switching to CPU

I am working with Object Detection ( training with YOLOv3) on Jetson Orin with OpenCV

**OpenCV = 4.5.4**
**Operating System / Platform => NVIDIA JETSON Orin (Tegra)**
**Compiler => Visual Studio 2019**
**CUDNN 8.6 and CUDA 11.4.**

I have configured the opencv with cmake-gui, enabling,

WITH_CUDNN=ON
OPENCV_DNN_CUDA=ON
ENABLE_FAST_MATH=1
CUDA_FAST_MATH=1
CUDA_ARCH_BIN=8.7
WITH_CUBLAS=1
WITH_CUDA=ON
BUILD_OPENCV_DNN=ON
BUILD_OPENCV_WORLD=ON
OPENCV_EXTRA_MODULES=/path/opencv_contrib/modules
PYTHON3_EXECUTABLES=/path/
PYTHON3_INCLUDE_DIR=/path/
PYTHON3_LIB=/path/
PYTHON3_PATH=/path/
PYTHON3_NUMPY=/path/
CUDNN_VERSION=8.6.0

i also linked ln -s /usr/local/lib/python3/dist-packages/cv2/python-3.8/cv2.cpython-38-aarch64-linux-gnu.so cv2.so

The opencv test : import cv2 also works.

>>>cv2.__version__
4.5.4

And I use this segment in my code.

cout << "Using GPU device" << endl;
net.setPreferableBackend(DNN_BACKEND_CUDA);
net.setPreferableTarget(DNN_TARGET_CUDA);

When run,

it switches to CPU and compiles giving the result in 400 milliseconds.

The issue is displayed as below:

**[ WARN:0] global /home/ubuntu/build_opencv/opencv/modules/dnn/src/dnn.cpp (1447) setUpNet DNN module was not built with CUDA backend; switching to CPU**

My directory structure is ( i cloned the opencv into my tk_ws workspace)

tk_ws/ build/ bin
tk_ws/opencv-4.5.4
tk_ws/opencv_contrib-4.5.4

Also, in the dnn.cpp is in the path: tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp**

while as per the instructions on GSoC 2019 | OpenCV | Adding a CUDA backend to the DNN module · GitHub

I can see the opencv_test_dnn in green.

I could not figure out why I am repeatedly failing. with the backend switching automatically to CPU instead of CUDA every time

I would be immensely grateful if you could help me, please.

Warm Regards,
Karishma

Hi,

Have you checked this issue with OpenCV team before?

Based on some online tutorials, you should set up OpenCV with the below configuration:

	-D WITH_CUDNN=ON \
	-D OPENCV_DNN_CUDA=ON \
	-D ENABLE_FAST_MATH=1 \
	-D CUDA_FAST_MATH=1 \
	-D CUDA_ARCH_BIN=8.7 \
	-D WITH_CUBLAS=1 \

Thanks.

Yes I did enable the options while configuring the OPENCV. Sorry, i was not clear in my post.
Also, i did approach the OpenCV forum last month, haven’t heard yet.

WITH_CUDNN=ON
OPENCV_DNN_CUDA=ON
ENABLE_FAST_MATH=1
CUDA_FAST_MATH=1
CUDA_ARCH_BIN=8.7
WITH_CUBLAS=1
WITH_CUDA=ON
BUILD_OPENCV_DNN=ON
BUILD_OPENCV_WORLD=ON
OPENCV_EXTRA_MODULES=/path/opencv_contrib/modules
PYTHON3_EXECUTABLES=/path/
PYTHON3_INCLUDE_DIR=/path/
PYTHON3_LIB=/path/
PYTHON3_PATH=/path/
PYTHON3_NUMPY=/path/
CUDNN_VERSION=8.6.0

Thank you.

Hi,

Do you have the summary log that was created by CMake?
We want to check the build details to see if any clues for this issue.

Thanks.

Hai,
This is the cmake I used:

…:~$ cd tk_ws/opencv-4.5.4/build/
…/tk_ws/opencv-4.5.4/build$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D ENABLE_FAST_MATH=ON -D CUDA_FAST_MATH=ON -D WITH_CUBLAS=ON -D WITH_CUDA=ON -D CUDA_ARCH_BIN=8.7 -D BUILD_opencv_cudacodec=OFF -D WITH_CUDNN=ON -D OPENCV_DNN_CUDA=ON -D WITH_V4L=ON -D WITH_QT=OFF -D WITH_OPENGL=ON -D WITH_GSTREAMER=ON -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_PC_FILE_NAME=opencv4.pc -D OPENCV_ENABLE_NONFREE=ON -D OPENCV_PYTHON3_INSTALL_PATH=/usr/lib/python3.8/dist-packages -D PYTHON3_EXECUTABLE=/usr/bin/python3 -D OPENCV_EXTRA_MODULES_PATH=/home/…/tk_ws/opencv_contrib-4.5.4/modules -D INSTALL_PYTHON_EXAMPLES=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D BUILD_OPENCV_DNN=ON -D BUILD_OPENCV_WORLD=ON -D CUDNN_VERSION=8.6.0 -D CUDNN_LIBRARY=/usr/lib/aarch64-linux-gnu/libcudnn.so -D CUDNN_INCLUDE_DIR=/usr/include -D PYTHON3_INCLUDE_DIR=/usr/include/python3.8 -D PYTHON3_LIBRARY=/usr/lib/aarch64-linux-gnu/libpython3.8.so -D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/lib/python3/dist-packages/numpy/core/include -D PYTHON3_PACKAGES_PATH=/usr/lib/python3/dist-packages -D OpenCV_DIR=/home/…/tk_ws/opencv-4.5.4/build …


– General configuration for OpenCV 4.5.4 =====================================
– Version control: unknown

– Extra modules:
– Location (extra): /home/…/tk_ws/opencv_contrib-4.5.4/modules
– Version control (extra): unknown

– Platform:
– Timestamp: 2022-11-18T05:42:28Z
– Host: Linux 5.10.65-tegra aarch64
– CMake: 3.16.3
– CMake generator: Unix Makefiles
– CMake build tool: /usr/bin/make
– Configuration: RELEASE

– CPU/HW features:
– Baseline: NEON FP16

– C/C++:
– Built as dynamic libs?: YES
– C++ standard: 11
– C++ Compiler: /usr/bin/c++ (ver 9.4.0)
– C++ flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
– C++ flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
– C Compiler: /usr/bin/cc
– C flags (Release): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
– C flags (Debug): -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
– Linker flags (Release): -Wl,–gc-sections -Wl,–as-needed
– Linker flags (Debug): -Wl,–gc-sections -Wl,–as-needed
– ccache: NO
– Precompiled headers: NO
– Extra dependencies: m pthread cudart_static dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cudnn cufft -L/usr/local/cuda-11.4/lib64 -L/usr/lib/aarch64-linux-gnu
– 3rdparty dependencies:

– OpenCV modules:
– To be built: aruco barcode bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python2 python3 quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
– Disabled: cudacodec world
– Disabled by dependency: -
– Unavailable: alphamat cvv hdf java julia matlab ovis sfm viz
– Applications: tests perf_tests apps
– Documentation: NO
– Non-free algorithms: YES

– GUI: GTK3
– GTK+: YES (ver 3.24.20)
– GThread : YES (ver 2.64.6)
– GtkGlExt: NO
– OpenGL support: NO
– VTK support: NO

– Media I/O:
– ZLib: /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.11)
– JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (ver 80)
– WEBP: build (ver encoder: 0x020f)
– PNG: /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.6.37)
– TIFF: /usr/lib/aarch64-linux-gnu/libtiff.so (ver 42 / 4.1.0)
– JPEG 2000: build (ver 2.4.0)
– OpenEXR: /usr/lib/aarch64-linux-gnu/libImath.so /usr/lib/aarch64-linux-gnu/libIlmImf.so /usr/lib/aarch64-linux-gnu/libIex.so /usr/lib/aarch64-linux-gnu/libHalf.so /usr/lib/aarch64-linux-gnu/libIlmThread.so (ver 2_3)
– HDR: YES
– SUNRASTER: YES
– PXM: YES
– PFM: YES

– Video I/O:
– DC1394: YES (2.2.5)
– FFMPEG: YES
– avcodec: YES (58.54.100)
– avformat: YES (58.29.100)
– avutil: YES (56.31.100)
– swscale: YES (5.5.100)
– avresample: YES (4.0.0)
– GStreamer: YES (1.16.3)
– v4l/v4l2: YES (linux/videodev2.h)

– Parallel framework: TBB (ver 2020.1 interface 11101)

– Trace: YES (with Intel ITT)

– Other third-party libraries:
– Lapack: NO
– Eigen: NO
– Custom HAL: YES (carotene (ver 0.0.1))
– Protobuf: build (3.5.1)

– NVIDIA CUDA: YES (ver 11.4, CUFFT CUBLAS FAST_MATH)
– NVIDIA GPU arch: 87
– NVIDIA PTX archs:

– cuDNN: YES (ver 8.6.0)

– OpenCL: YES (no extra features)
– Include path: /home/…/tk_ws/opencv-4.5.4/3rdparty/include/opencl/1.2
– Link libraries: Dynamic load

– Python 2:
– Interpreter: /usr/bin/python2.7 (ver 2.7.18)
– Libraries: /usr/lib/aarch64-linux-gnu/libpython2.7.so (ver 2.7.18)
– numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.5)
– install path: lib/python2.7/dist-packages/cv2/python-2.7

– Python 3:
– Interpreter: /usr/bin/python3 (ver 3.8.10)
– Libraries: /usr/lib/aarch64-linux-gnu/libpython3.8.so (ver 3.8.10)
– numpy: /usr/lib/python3/dist-packages/numpy/core/include (ver 1.17.4)
– install path: /usr/lib/python3.8/dist-packages/cv2/python-3.8

– Python (for build): /usr/bin/python3

– Java:
– ant: NO
– JNI: NO
– Java wrappers: NO
– Java tests: NO

– Install to: /usr/local



– Configuring done
– Generating done
– Build files have been written to: /home/…/tk_ws/opencv-4.5.4/build

Thank you.

Hi,

Did you get any response from the OpenCV team?

Based on the error, it seems that the “HAVE_CUDA” is not defined during the compiling:
https://github.com/opencv/opencv/blob/4.5.4/modules/dnn/src/dnn.cpp#L1447

Could you check if it is set when CMaking?
For example, below is our configuration:

$ grep -ir HAVE_CUDA
opencv2/cvconfig.h:#define HAVE_CUDA
cvconfig.h:#define HAVE_CUDA
CMakeVars.txt:HAVE_CUDA=1
CMakeVars.txt:OPENCV_VERIFY_WITH_CUDA=HAVE_CUDA

If the error still occurs when HAVE_CUDA turn on, CUDA for dnn might be turned off due to some underlying dependencies
For this, please check with the OpenCV team for better help.

Thanks.

Hai @AastaLLL

My result to this is
$ grep -ir HAVE_CUDA

tk_ws/opencv-4.5.4/build/CMakeVars.txt:HAVE_CUDA=1
tk_ws/opencv-4.5.4/build/CMakeVars.txt:OPENCV_VERIFY_WITH_CUDA=HAVE_CUDA
tk_ws/opencv-4.5.4/build/opencv2/cvconfig.h:#define HAVE_CUDA
tk_ws/opencv-4.5.4/build/cvconfig.h:#define HAVE_CUDA

and also many others as below.

.local/share/Trash/files/build/CMakeVars.txt:HAVE_CUDA=1
.local/share/Trash/files/build/CMakeVars.txt:OPENCV_VERIFY_WITH_CUDA=HAVE_CUDA
.local/share/Trash/files/build/opencv2/cvconfig.h:#define HAVE_CUDA
.local/share/Trash/files/build/cvconfig.h:#define HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudev/CMakeLists.txt:if(NOT HAVE_CUDA)
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/test/test_precomp.hpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/test/test_surf.cuda.cpp:#if defined(HAVE_CUDA) && defined(OPENCV_ENABLE_NONFREE)
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/test/test_surf.cuda.cpp:#endif // HAVE_CUDA && OPENCV_ENABLE_NONFREE
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/src/surf.cuda.cpp:#elif (!defined (HAVE_CUDA) || !defined (HAVE_OPENCV_CUDAARITHM))
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/perf/perf_surf.cuda.cpp:#if defined(HAVE_CUDA) && defined(OPENCV_ENABLE_NONFREE)
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/perf/perf_surf.cuda.cpp:#endif // HAVE_CUDA && OPENCV_ENABLE_NONFREE
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/perf/perf_precomp.hpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/perf/perf_main.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/xfeatures2d/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_arithm.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_arithm.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_buffer_pool.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_buffer_pool.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_opengl.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENGL)
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_core.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_core.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_gpumat.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_gpumat.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_stream.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_stream.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_reductions.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_reductions.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_element_operations.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/test/test_element_operations.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/element_operations.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/reductions.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/lut.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/lut.cpp:#else /* !defined (HAVE_CUDA) || defined (CUDA_DISABLER) /
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/arithm.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/arithm.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/arithm.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/core.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/core.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/src/core.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaarithm/CMakeLists.txt:if(IOS OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/test/test_stereo.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/test/test_stereo.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/test/test_sgm_funcs.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/test/test_sgm_funcs.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/util.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereobp.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereobp.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereobp.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereosgm.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereosgm.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereosgm.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereocsbp.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereocsbp.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereocsbp.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/disparity_bilateral_filter.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/disparity_bilateral_filter.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/disparity_bilateral_filter.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereobm.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereobm.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/src/stereobm.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudastereo/CMakeLists.txt:if(IOS OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/videostab/src/wobble_suppression.cpp: #if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/videostab/src/global_motion.cpp: #if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/videostab/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv_contrib-4.5.4/modules/cudaobjdetect/test/test_objdetect.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaobjdetect/test/test_objdetect.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaobjdetect/src/cascadeclassifier.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaobjdetect/src/hog.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaobjdetect/CMakeLists.txt:if(IOS OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/test/test_optflow.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/test/test_optflow.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/tvl1flow.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/tvl1flow.cpp:#endif // !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/nvidiaOpticalFlow.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/pyrlk.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/pyrlk.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/pyrlk.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/brox.cpp:#if !defined (HAVE_CUDA) || !defined (HAVE_OPENCV_CUDALEGACY) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/brox.cpp:#endif /
HAVE_CUDA /
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/src/farneback.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaoptflow/CMakeLists.txt:if(IOS OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_remap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_remap.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_resize.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_resize.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_warp_affine.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_warp_affine.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_warp_perspective.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_warp_perspective.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_pyramids.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/test/test_pyramids.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/pyramids.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/pyramids.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/resize.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/resize.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/resize.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/warp.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/warp.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/warp.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/remap.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/remap.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/src/remap.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudawarping/CMakeLists.txt:if(IOS OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/test/test_features2d.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/test/test_features2d.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/fast.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/fast.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/fast.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/orb.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/orb.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/orb.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/brute_force_matcher.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/brute_force_matcher.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/src/brute_force_matcher.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudafeatures2d/CMakeLists.txt:if(IOS OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudacodec/src/ffmpeg_video_source.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudacodec/src/video_decoder.cpp:#if defined (HAVE_CUDA)
tk_ws/opencv_contrib-4.5.4/modules/cudacodec/CMakeLists.txt:if(IOS OR APPLE OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/superres/test/test_superres.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING) && defined(HAVE_OPENCV_CUDAFILTERS)
tk_ws/opencv_contrib-4.5.4/modules/superres/src/btv_l1_cuda.cpp:#if !defined(HAVE_CUDA) || !defined(HAVE_OPENCV_CUDAARITHM) || !defined(HAVE_OPENCV_CUDAWARPING) || !defined(HAVE_OPENCV_CUDAFILTERS)
tk_ws/opencv_contrib-4.5.4/modules/superres/src/btv_l1_cuda.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/superres/src/btv_l1_cuda.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/superres/perf/perf_main.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/superres/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv_contrib-4.5.4/modules/hfs/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_hough.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_hough.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_histogram.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_histogram.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_color.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_color.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_bilateral_filter.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_bilateral_filter.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_blend.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_blend.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_gftt.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_gftt.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_mean_shift.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_mean_shift.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_corners.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_corners.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_match_template.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_match_template.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_canny.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/test/test_canny.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/gftt.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) || !defined(HAVE_OPENCV_CUDAARITHM)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/gftt.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/gftt.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/corners.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) || !defined(HAVE_OPENCV_CUDAFILTERS)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/corners.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/corners.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_segments.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_segments.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_segments.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/mssegmentation.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/mssegmentation.cpp:#endif // #if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/histogram.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/histogram.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/histogram.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_lines.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_lines.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_lines.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/blend.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/canny.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/canny.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/canny.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/bilateral_filter.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/mean_shift.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/mean_shift.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/mean_shift.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/generalized_hough.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) || !defined(HAVE_OPENCV_CUDAARITHM)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/generalized_hough.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/generalized_hough.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_circles.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) || !defined(HAVE_OPENCV_CUDAFILTERS)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_circles.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/hough_circles.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/color.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/color.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/color.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/src/match_template.cpp:#if !defined (HAVE_CUDA) || !defined (HAVE_OPENCV_CUDAARITHM) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudaimgproc/CMakeLists.txt:if(IOS OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudabgsegm/test/test_bgsegm.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudabgsegm/test/test_bgsegm.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudabgsegm/src/mog.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudabgsegm/src/mog2.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudabgsegm/CMakeLists.txt:if(IOS OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudafilters/test/test_filters.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudafilters/test/test_filters.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudafilters/src/filtering.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudafilters/CMakeLists.txt:if(IOS OR WINRT OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_calib3d.cpp:#if defined HAVE_CUDA && defined HAVE_OPENCV_CALIB3D
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_calib3d.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_nvidia.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_nvidia.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_labeling.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_labeling.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_main.cpp:#ifdef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_main.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/test/test_main.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/include/opencv2/cudalegacy/private.hpp:#ifndef HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/interpolate_frames.cpp:#if !defined (HAVE_CUDA) || !defined (HAVE_OPENCV_CUDALEGACY) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/interpolate_frames.cpp:#endif /
HAVE_CUDA /
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/bm.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/bm.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/bm.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/fgd.cpp:#if !defined(HAVE_CUDA) || defined(CUDA_DISABLER) || !defined(HAVE_OPENCV_IMGPROC) || !defined(HAVE_OPENCV_CUDAARITHM) || !defined(HAVE_OPENCV_CUDAIMGPROC)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/fgd.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/calib3d.cpp:#if !defined HAVE_CUDA || !defined HAVE_OPENCV_CALIB3D || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/image_pyramid.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/image_pyramid.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/bm_fast.cpp:#if !defined HAVE_CUDA || !defined(HAVE_OPENCV_CUDAARITHM) || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/bm_fast.cpp:#else // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/bm_fast.cpp:#endif // HAVE_CUDA
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/gmg.cpp:#if !defined HAVE_CUDA || defined(CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/graphcuts.cpp:#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) || (CUDART_VERSION >= 8000)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/graphcuts.cpp:#else /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/graphcuts.cpp:#endif /
!defined (HAVE_CUDA) /
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/needle_map.cpp:#if !defined (HAVE_CUDA) || !defined(HAVE_OPENCV_CUDAIMGPROC) || defined (CUDA_DISABLER)
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/src/needle_map.cpp:#endif /
HAVE_CUDA */
tk_ws/opencv_contrib-4.5.4/modules/cudalegacy/CMakeLists.txt:if(NOT HAVE_CUDA)
tk_ws/opencv-4.5.4/samples/gpu/multi.cpp:#if !defined(HAVE_CUDA)
tk_ws/opencv-4.5.4/samples/gpu/CMakeLists.txt:if(HAVE_CUDA OR CUDA_FOUND)
tk_ws/opencv-4.5.4/samples/gpu/CMakeLists.txt: add_definitions(-DHAVE_CUDA=1)
tk_ws/opencv-4.5.4/samples/gpu/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/dnn/test/test_common.impl.hpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/test/test_common.impl.hpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/dnn.cpp:#ifdef HAVE_CUDA
Binary file tk_ws/opencv-4.5.4/modules/dnn/src/.dnn.cpp.swo matches
tk_ws/opencv-4.5.4/modules/dnn/src/op_cuda.hpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/op_cuda.hpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/op_cuda.hpp:#ifdef HAVE_CUDA
Binary file tk_ws/opencv-4.5.4/modules/dnn/src/.dnn.cpp.swp matches
tk_ws/opencv-4.5.4/modules/dnn/src/precomp.hpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/precomp.hpp:#undef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/pooling_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/pooling_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/concat_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/concat_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/eltwise_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/eltwise_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/blank_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/blank_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/lrn_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/lrn_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/detection_output_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/detection_output_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/mvn_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/mvn_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/region_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/region_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/region_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/normalize_bbox_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/normalize_bbox_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/batch_norm_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/batch_norm_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/prior_box_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/prior_box_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/permute_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/permute_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/const_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/const_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/resize_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/resize_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/max_unpooling_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/max_unpooling_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/flatten_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/flatten_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/split_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/split_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/padding_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/padding_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/slice_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/slice_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/slice_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/softmax_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/softmax_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/scale_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/scale_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/crop_and_resize_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/crop_and_resize_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/convolution_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/shuffle_channel_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/shuffle_channel_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/reshape_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/reshape_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/fully_connected_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/fully_connected_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/elementwise_layers.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/reorg_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/src/layers/reorg_layer.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/CMakeLists.txt: HAVE_CUDA
tk_ws/opencv-4.5.4/modules/dnn/CMakeLists.txt: if(HAVE_CUDA AND HAVE_CUBLAS AND HAVE_CUDNN)
tk_ws/opencv-4.5.4/modules/dnn/CMakeLists.txt: if(NOT HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/dnn/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/dnn/CMakeLists.txt:if(OPENCV_DNN_CUDA AND HAVE_CUDA AND HAVE_CUBLAS AND HAVE_CUDNN)
tk_ws/opencv-4.5.4/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake:if(NOT (OPENCV_DNN_CUDA AND HAVE_CUDA AND HAVE_CUBLAS AND HAVE_CUDNN))
tk_ws/opencv-4.5.4/modules/python/bindings/CMakeLists.txt:if(NOT HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/python/python_loader.cmake: if (WIN32 AND HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/ts/include/opencv2/ts/cuda_perf.hpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/include/opencv2/ts/cuda_test.hpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/include/opencv2/ts/cuda_test.hpp:#else // HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/include/opencv2/ts/cuda_test.hpp:#endif // HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/src/ts_perf.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/src/ts_perf.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/src/ts_perf.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/src/ts_perf.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/src/ts_perf.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/src/ts_perf.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/ts/src/ts_perf.cpp: #ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/stitching/src/warpers_cuda.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/stitching/src/warpers_cuda.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/stitching/src/warpers_cuda.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/stitching/src/warpers_cuda.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/src/blenders.cpp:#if defined(HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAWARPING)
tk_ws/opencv-4.5.4/modules/stitching/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/core/test/test_cuda.cpp:#if defined(HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/core/include/opencv2/core/private.cuda.hpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/include/opencv2/core/private.cuda.hpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/include/opencv2/core/private.cuda.hpp:#else // HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/include/opencv2/core/private.cuda.hpp:#endif // HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_gpu_mat.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_gpu_mat.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_gpu_mat.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_gpu_mat.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_host_mem.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/matrix_wrap.cpp: CV_Error(Error::StsNotImplemented, “CUDA support is not enabled in this OpenCV build (missing HAVE_CUDA)”);
tk_ws/opencv-4.5.4/modules/core/src/umatrix.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/copy.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_gpu_mat_nd.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_info.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp:# ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp:#if defined(HAVE_OPENGL) && defined(HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp:#endif // HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/opengl.cpp: #ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#if defined(HAVE_CUDA) && (CUDART_VERSION >= 5000)
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/src/cuda_stream.cpp:#ifndef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/perf/cuda/perf_gpumat.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/core/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/modules/photo/test/test_denoising.cuda.cpp:#if defined (HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAIMGPROC)
tk_ws/opencv-4.5.4/modules/photo/test/test_denoising.cuda.cpp:#endif // HAVE_CUDA
tk_ws/opencv-4.5.4/modules/photo/src/denoising.cuda.cpp:#if !defined (HAVE_CUDA) || !defined(HAVE_OPENCV_CUDAARITHM) || !defined(HAVE_OPENCV_CUDAIMGPROC)
tk_ws/opencv-4.5.4/modules/photo/perf/perf_main.cpp:#ifdef HAVE_CUDA
tk_ws/opencv-4.5.4/modules/photo/perf/perf_cuda.cpp:#if defined (HAVE_CUDA) && defined(HAVE_OPENCV_CUDAARITHM) && defined(HAVE_OPENCV_CUDAIMGPROC)
tk_ws/opencv-4.5.4/modules/photo/CMakeLists.txt:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/CMakeLists.txt: VERIFY HAVE_CUDA)
tk_ws/opencv-4.5.4/CMakeLists.txt:if(WITH_CUDA OR HAVE_CUDA)
tk_ws/opencv-4.5.4/CMakeLists.txt: status(" NVIDIA CUDA:" HAVE_CUDA THEN “YES (ver ${CUDA_VERSION_STRING}, ${cuda_features})” ELSE NO)
tk_ws/opencv-4.5.4/CMakeLists.txt: if(HAVE_CUDA)
tk_ws/opencv-4.5.4/CMakeLists.txt:if(HAVE_CUDA AND COMMAND CUDA_BUILD_CLEAN_TARGET)
tk_ws/opencv-4.5.4/cmake/OpenCVUtils.cmake: if(HAVE_CUDA OR CMAKE_VERSION VERSION_LESS 2.8.11)
tk_ws/opencv-4.5.4/cmake/OpenCVUtils.cmake: if(HAVE_CUDA AND ARGN MATCHES “\.cu”)
tk_ws/opencv-4.5.4/cmake/OpenCVModule.cmake: if(HAVE_CUDA AND exclude_cuda EQUAL -1)
tk_ws/opencv-4.5.4/cmake/OpenCVModule.cmake: if (HAVE_CUDA)
tk_ws/opencv-4.5.4/cmake/templates/cvconfig.h.in:#cmakedefine HAVE_CUDA
tk_ws/opencv-4.5.4/cmake/OpenCVDetectCUDA.cmake: set(HAVE_CUDA 1)
tk_ws/opencv-4.5.4/cmake/OpenCVDetectCUDA.cmake:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/cmake/OpenCVDetectCUDA.cmake:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/cmake/OpenCVFindLibsPerf.cmake: if(NOT HAVE_CUDA)
tk_ws/opencv-4.5.4/cmake/OpenCVPackaging.cmake:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/cmake/OpenCVGenConfig.cmake:if(HAVE_CUDA)
tk_ws/opencv-4.5.4/build/CMakeVars.txt:HAVE_CUDA=1
tk_ws/opencv-4.5.4/build/CMakeVars.txt:OPENCV_VERIFY_WITH_CUDA=HAVE_CUDA
tk_ws/opencv-4.5.4/build/opencv2/cvconfig.h:#define HAVE_CUDA
tk_ws/opencv-4.5.4/build/cvconfig.h:#define HAVE_CUDA

So, I am not able to make out it my HAVE_CUDA is having problems or not.

Can you please tell me how to check if CUDA for dnn is turned on or off.

Thank you very much.

Unfortunately I have not heard from OPENCV forum yet.

Thank you

Hi,

It looks like HAVE_CUDA is already defined in your configuration.

opencv2/cvconfig.h:#define HAVE_CUDA

We are going to check it further.
Will share information with you once we found something.

Thanks.

@AastaLLL
Thank you very much.
Will be looking forward.

@AastaLLL

  • I think I figured it out after multiple trials during opencv-4.5.4 installation with proper configuration setup during cmake.
  • Adding opencv_world library (opencv_world) to the VS - Library Dependencies, made the difference. Now my Jetson Orin is running with CUDA-GPU support, and the inference time is 4 ms.

Thank you for your support.

Regards,
Karishma

Good to know this.
Thanks for the feedback.