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
f5af3ab8
Commit
f5af3ab8
authored
Sep 25, 2013
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes in OpenCL matrix operations docs
parent
c8821bd9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
operations_on_matrices.rst
modules/ocl/doc/operations_on_matrices.rst
+0
-0
ocl.hpp
modules/ocl/include/opencv2/ocl/ocl.hpp
+0
-0
matrix_operations.cpp
modules/ocl/src/matrix_operations.cpp
+4
-9
No files found.
modules/ocl/doc/operations_on_matrices.rst
View file @
f5af3ab8
This diff is collapsed.
Click to expand it.
modules/ocl/include/opencv2/ocl/ocl.hpp
View file @
f5af3ab8
This diff is collapsed.
Click to expand it.
modules/ocl/src/matrix_operations.cpp
View file @
f5af3ab8
...
@@ -347,19 +347,14 @@ static void copy_to_with_mask(const oclMat &src, oclMat &dst, const oclMat &mask
...
@@ -347,19 +347,14 @@ static void copy_to_with_mask(const oclMat &src, oclMat &dst, const oclMat &mask
localThreads
,
args
,
-
1
,
-
1
,
compile_option
);
localThreads
,
args
,
-
1
,
-
1
,
compile_option
);
}
}
void
cv
::
ocl
::
oclMat
::
copyTo
(
oclMat
&
m
)
const
{
CV_DbgAssert
(
!
this
->
empty
());
m
.
create
(
size
(),
type
());
openCLCopyBuffer2D
(
clCxt
,
m
.
data
,
m
.
step
,
m
.
offset
,
data
,
step
,
cols
*
elemSize
(),
rows
,
offset
);
}
void
cv
::
ocl
::
oclMat
::
copyTo
(
oclMat
&
mat
,
const
oclMat
&
mask
)
const
void
cv
::
ocl
::
oclMat
::
copyTo
(
oclMat
&
mat
,
const
oclMat
&
mask
)
const
{
{
if
(
mask
.
empty
())
if
(
mask
.
empty
())
{
{
copyTo
(
mat
);
CV_DbgAssert
(
!
this
->
empty
());
mat
.
create
(
size
(),
type
());
openCLCopyBuffer2D
(
clCxt
,
mat
.
data
,
mat
.
step
,
mat
.
offset
,
data
,
step
,
cols
*
elemSize
(),
rows
,
offset
);
}
}
else
else
{
{
...
...
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