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

compilation with no cuda re factored

This commit is contained in:
Anatoly Baksheev
2010-07-19 09:31:12 +00:00
parent 20e2dc84b0
commit 07825bad1e
15 changed files with 555 additions and 587 deletions
+3 -2
View File
@@ -48,12 +48,13 @@ namespace cv
namespace gpu
{
// Simple lightweight structure that encapsulates image ptr on device, its pitch and its sizes.
// It is intended to pass to nvcc-compiled code.
// It is intended to pass to nvcc-compiled code. GpuMat depends on headers that nvcc can't compile
template<typename T = unsigned char>
struct DevMem2D_
{
enum { elem_size = sizeof(T) };
typedef T elem_t;
enum { elem_size = sizeof(elem_t) };
int cols;
int rows;