We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10bfd2d + 5b640a5 commit a960877Copy full SHA for a960877
modules/cudaarithm/src/lut.cpp
@@ -4,8 +4,6 @@
4
5
#include "precomp.hpp"
6
7
-#include "lut.hpp"
8
-
9
using namespace cv;
10
using namespace cv::cuda;
11
@@ -15,6 +13,9 @@ Ptr<LookUpTable> cv::cuda::createLookUpTable(InputArray) { throw_no_cuda(); retu
15
13
16
14
#else /* !defined (HAVE_CUDA) || defined (CUDA_DISABLER) */
17
+// lut.hpp includes cuda_runtime.h and can only be included when we have CUDA
+#include "lut.hpp"
18
+
19
Ptr<LookUpTable> cv::cuda::createLookUpTable(InputArray lut)
20
{
21
return makePtr<LookUpTableImpl>(lut);
0 commit comments