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
2d36ba21
Commit
2d36ba21
authored
Jul 23, 2010
by
Andrey Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix
parent
ffe7bdf6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
matrix_operations.cu
modules/gpu/src/cuda/matrix_operations.cu
+5
-5
No files found.
modules/gpu/src/cuda/matrix_operations.cu
View file @
2d36ba21
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
using namespace cv::gpu;
using namespace cv::gpu;
using namespace cv::gpu::impl;
using namespace cv::gpu::impl;
__constant__
__align__(16)
double scalar_d[4];
__constant__ double scalar_d[4];
namespace mat_operators
namespace mat_operators
{
{
...
@@ -267,7 +267,7 @@ namespace cv
...
@@ -267,7 +267,7 @@ namespace cv
CopyToFunc func = tab[depth];
CopyToFunc func = tab[depth];
if (func == 0)
error("Operation \'ConvertTo\' doesn't supported on your GPU model
", __FILE__, __LINE__);
if (func == 0)
cv::gpu::error("Unsupported convert operation
", __FILE__, __LINE__);
func(mat_src, mat_dst, mask, channels);
func(mat_src, mat_dst, mask, channels);
}
}
...
@@ -321,7 +321,7 @@ namespace cv
...
@@ -321,7 +321,7 @@ namespace cv
SetToFunc_without_mask func = tab[depth];
SetToFunc_without_mask func = tab[depth];
if (func == 0)
error("Operation \'ConvertTo\' doesn't supported on your GPU model
", __FILE__, __LINE__);
if (func == 0)
cv::gpu::error("Unsupported convert operation
", __FILE__, __LINE__);
func(mat, channels);
func(mat, channels);
}
}
...
@@ -350,7 +350,7 @@ namespace cv
...
@@ -350,7 +350,7 @@ namespace cv
SetToFunc_with_mask func = tab[depth];
SetToFunc_with_mask func = tab[depth];
if (func == 0)
error("Operation \'ConvertTo\' doesn't supported on your GPU model
", __FILE__, __LINE__);
if (func == 0)
cv::gpu::error("Unsupported convert operation
", __FILE__, __LINE__);
func(mat, mask, channels);
func(mat, mask, channels);
}
}
...
@@ -410,4 +410,4 @@ namespace cv
...
@@ -410,4 +410,4 @@ namespace cv
}
}
} // namespace impl
} // namespace impl
} // namespace gpu
} // namespace gpu
} // namespace cv
} // namespace cv
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