Merge pull request #15747 from TH3CHARLie:imshow-fix
[platform/upstream/opencv.git] / modules / dnn / src / cuda4dnn / test.cpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4
5 // this file is a stub and will be removed once actual code is added
6
7 #include "../precomp.hpp"
8
9 #ifndef HAVE_CUDA
10 #   error "CUDA4DNN should be enabled iff CUDA and cuDNN were found"
11 #endif
12
13 #include <cudnn.h>
14
15 void cuda4dnn_build_test_func() {
16     auto ver = cudnnGetVersion();
17     CV_UNUSED(ver);
18 }