Added TODOs into GPU module
This commit is contained in:
parent
903f835d9f
commit
a7c6b84390
@ -607,6 +607,7 @@ namespace cv { namespace gpu { namespace device
|
|||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// multiply
|
// multiply
|
||||||
|
|
||||||
|
// TODO implement more efficient version
|
||||||
template <typename TSrc1, typename TSrc2, typename TDst, int cn>
|
template <typename TSrc1, typename TSrc2, typename TDst, int cn>
|
||||||
void __global__ multiplyKernel(const PtrStep src1, const PtrStep src2, int rows, int cols,
|
void __global__ multiplyKernel(const PtrStep src1, const PtrStep src2, int rows, int cols,
|
||||||
PtrStep dst)
|
PtrStep dst)
|
||||||
@ -641,6 +642,7 @@ namespace cv { namespace gpu { namespace device
|
|||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// multiply (by scalar)
|
// multiply (by scalar)
|
||||||
|
|
||||||
|
// TODO implement more efficient version
|
||||||
template <typename TSrc, typename TDst>
|
template <typename TSrc, typename TDst>
|
||||||
void __global__ multiplyScalarKernel(const PtrStep src1, float scale, int rows, int cols, PtrStep dst)
|
void __global__ multiplyScalarKernel(const PtrStep src1, float scale, int rows, int cols, PtrStep dst)
|
||||||
{
|
{
|
||||||
|
@ -46,9 +46,9 @@
|
|||||||
#pragma warning( disable: 4251 4710 4711 4514 4996 )
|
#pragma warning( disable: 4251 4710 4711 4514 4996 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CVCONFIG_H
|
//#ifdef HAVE_CVCONFIG_H
|
||||||
#include "cvconfig.h"
|
#include "cvconfig.h"
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user