1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

dnn: make OpenCL DNN code optional

This commit is contained in:
Alexander Alekhin
2018-02-28 13:58:55 +03:00
parent 24bed38c2b
commit 1b83bc48a1
32 changed files with 117 additions and 80 deletions
+4 -1
View File
@@ -43,8 +43,11 @@
#include "../precomp.hpp"
#include "layers_common.hpp"
#include <opencv2/dnn/shape_utils.hpp>
#include "math_functions.hpp"
#ifdef HAVE_OPENCL
#include "../ocl4dnn/include/math_functions.hpp"
#include "opencl_kernels_dnn.hpp"
#endif
namespace cv
{