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
d66ed313
Commit
d66ed313
authored
Apr 25, 2016
by
ohnozzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Comment
Add documentation for Kernel::run
parent
ec63343f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
ocl.hpp
modules/core/include/opencv2/core/ocl.hpp
+12
-1
No files found.
modules/core/include/opencv2/core/ocl.hpp
View file @
d66ed313
...
...
@@ -567,7 +567,18 @@ public:
i
=
set
(
i
,
a6
);
i
=
set
(
i
,
a7
);
i
=
set
(
i
,
a8
);
i
=
set
(
i
,
a9
);
i
=
set
(
i
,
a10
);
i
=
set
(
i
,
a11
);
i
=
set
(
i
,
a12
);
i
=
set
(
i
,
a13
);
i
=
set
(
i
,
a14
);
set
(
i
,
a15
);
return
*
this
;
}
/*
Run the OpenCL kernel.
@param dims the work problem dimensions. It is the length of globalsize and localsize. It can be either 1, 2 or 3.
@param globalsize work items for each dimension.
It is not the final globalsize passed to OpenCL.
Each dimension will be adjusted to the nearest integer divisible by the corresponding value in localsize.
If localsize is NULL, it will still be adjusted depending on dims.
The adjusted values are greater than or equal to the original values.
@param localsize work-group size for each dimension.
@param sync specify whether to wait for OpenCL computation to finish before return.
@param q command queue
*/
bool
run
(
int
dims
,
size_t
globalsize
[],
size_t
localsize
[],
bool
sync
,
const
Queue
&
q
=
Queue
());
bool
runTask
(
bool
sync
,
const
Queue
&
q
=
Queue
());
...
...
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