1a50e97cbbbbda59ba82df5aa1d963a0bc7b78ca
[platform/upstream/opencv.git] / modules / dnn / src / cuda / test.cu
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 #include <cuda_runtime.h>
10
11 #ifndef HAVE_CUDA
12 #   error "CUDA files should not be compiled if CUDA was not enabled"
13 #endif
14
15 __global__ void cuda4dnn_build_test_kernel(float* addr) {
16     int idx = threadIdx.x;
17     addr[idx] = 0.0;
18 }