projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983799d
)
fixed unused function in case of unavailable CUDA
author
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Sat, 1 Feb 2014 14:11:19 +0000
(18:11 +0400)
committer
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Sat, 1 Feb 2014 14:11:45 +0000
(18:11 +0400)
modules/core/src/cuda_host_mem.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/cuda_host_mem.cpp
b/modules/core/src/cuda_host_mem.cpp
index
0eb7360
..
15a0d9a
100644
(file)
--- a/
modules/core/src/cuda_host_mem.cpp
+++ b/
modules/core/src/cuda_host_mem.cpp
@@
-46,6
+46,7
@@
using namespace cv;
using namespace cv::cuda;
+#ifdef HAVE_CUDA
namespace
{
size_t alignUpStep(size_t what, size_t alignment)
@@
-56,6
+57,7
@@
namespace
return res;
}
}
+#endif
void cv::cuda::CudaMem::create(int rows_, int cols_, int type_)
{