From a7c6b84390e2f127cefe452e7df20441a78e271d Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Sat, 10 Sep 2011 12:28:03 +0000 Subject: [PATCH] Added TODOs into GPU module --- modules/gpu/src/cuda/element_operations.cu | 2 ++ modules/gpu/src/precomp.hpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/gpu/src/cuda/element_operations.cu b/modules/gpu/src/cuda/element_operations.cu index 0f1843656c..bbd5d37e9a 100644 --- a/modules/gpu/src/cuda/element_operations.cu +++ b/modules/gpu/src/cuda/element_operations.cu @@ -607,6 +607,7 @@ namespace cv { namespace gpu { namespace device ////////////////////////////////////////////////////////////////////////// // multiply + // TODO implement more efficient version template void __global__ multiplyKernel(const PtrStep src1, const PtrStep src2, int rows, int cols, PtrStep dst) @@ -641,6 +642,7 @@ namespace cv { namespace gpu { namespace device ////////////////////////////////////////////////////////////////////////// // multiply (by scalar) + // TODO implement more efficient version template void __global__ multiplyScalarKernel(const PtrStep src1, float scale, int rows, int cols, PtrStep dst) { diff --git a/modules/gpu/src/precomp.hpp b/modules/gpu/src/precomp.hpp index ed331ccc92..b6d52edfbc 100644 --- a/modules/gpu/src/precomp.hpp +++ b/modules/gpu/src/precomp.hpp @@ -46,9 +46,9 @@ #pragma warning( disable: 4251 4710 4711 4514 4996 ) #endif -#ifdef HAVE_CVCONFIG_H +//#ifdef HAVE_CVCONFIG_H #include "cvconfig.h" -#endif +//#endif #include #include