Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
bdb088dc
Commit
bdb088dc
authored
Feb 24, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3712 from jet47:fix-cuda-build-on-windows
parents
457758b5
671b59aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
minmax.cu
modules/cudaarithm/src/cuda/minmax.cu
+2
-2
norm.cu
modules/cudaarithm/src/cuda/norm.cu
+2
-2
reductions.cpp
modules/cudaarithm/src/reductions.cpp
+3
-3
No files found.
modules/cudaarithm/src/cuda/minmax.cu
View file @
bdb088dc
...
...
@@ -134,7 +134,7 @@ void cv::cuda::minMax(InputArray _src, double* minVal, double* maxVal, InputArra
*maxVal = vals[1];
}
namespace cv { namespace cuda { namespace
internal
{
namespace cv { namespace cuda { namespace
device
{
void findMaxAbs(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream);
...
...
@@ -155,7 +155,7 @@ namespace
}
}
void cv::cuda::
internal
::findMaxAbs(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream)
void cv::cuda::
device
::findMaxAbs(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream)
{
typedef void (*func_t)(const GpuMat& _src, const GpuMat& mask, GpuMat& _dst, Stream& stream);
static const func_t funcs[] =
...
...
modules/cudaarithm/src/cuda/norm.cu
View file @
bdb088dc
...
...
@@ -128,7 +128,7 @@ double cv::cuda::norm(InputArray _src1, InputArray _src2, int normType)
return val;
}
namespace cv { namespace cuda { namespace
internal
{
namespace cv { namespace cuda { namespace
device
{
void normL2(cv::InputArray _src, cv::OutputArray _dst, cv::InputArray _mask, Stream& stream);
...
...
@@ -158,7 +158,7 @@ namespace
}
}
void cv::cuda::
internal
::normL2(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream)
void cv::cuda::
device
::normL2(InputArray _src, OutputArray _dst, InputArray _mask, Stream& stream)
{
typedef void (*func_t)(const GpuMat& _src, const GpuMat& mask, GpuMat& _dst, Stream& stream);
static const func_t funcs[] =
...
...
modules/cudaarithm/src/reductions.cpp
View file @
bdb088dc
...
...
@@ -84,7 +84,7 @@ void cv::cuda::sqrIntegral(InputArray, OutputArray, Stream&) { throw_no_cuda();
////////////////////////////////////////////////////////////////////////
// norm
namespace
cv
{
namespace
cuda
{
namespace
internal
{
namespace
cv
{
namespace
cuda
{
namespace
device
{
void
normL2
(
cv
::
InputArray
_src
,
cv
::
OutputArray
_dst
,
cv
::
InputArray
_mask
,
Stream
&
stream
);
...
...
@@ -106,11 +106,11 @@ void cv::cuda::calcNorm(InputArray _src, OutputArray dst, int normType, InputArr
}
else
if
(
normType
==
NORM_L2
)
{
cv
::
cuda
::
internal
::
normL2
(
src_single_channel
,
dst
,
mask
,
stream
);
cv
::
cuda
::
device
::
normL2
(
src_single_channel
,
dst
,
mask
,
stream
);
}
else
// NORM_INF
{
cv
::
cuda
::
internal
::
findMaxAbs
(
src_single_channel
,
dst
,
mask
,
stream
);
cv
::
cuda
::
device
::
findMaxAbs
(
src_single_channel
,
dst
,
mask
,
stream
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment