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
61c347fb
Commit
61c347fb
authored
Mar 13, 2014
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
357a856c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arithm.cpp
modules/ocl/src/arithm.cpp
+3
-3
No files found.
modules/ocl/src/arithm.cpp
View file @
61c347fb
...
...
@@ -517,7 +517,7 @@ static void arithmetic_minMax_run(const oclMat &src, const oclMat & mask, cl_mem
size_t
globalThreads
[
3
]
=
{
groupnum
*
256
,
1
,
1
};
size_t
localThreads
[
3
]
=
{
256
,
1
,
1
};
// kernel use fixed grid size, replace lt on NULL is imposible without kernel changes
// kernel use fixed grid size, replace lt on NULL is impos
s
ible without kernel changes
openCLExecuteKernel
(
src
.
clCxt
,
&
arithm_minMax
,
"arithm_op_minMax"
,
globalThreads
,
localThreads
,
args
,
-
1
,
-
1
,
buildOptions
.
c_str
());
}
...
...
@@ -1140,7 +1140,7 @@ static void arithmetic_minMaxLoc_run(const oclMat &src, cl_mem &dst, int vlen ,
sprintf
(
build_options
,
"-D DEPTH_%d -D REPEAT_S%d -D REPEAT_E%d"
,
src
.
depth
(),
repeat_s
,
repeat_e
);
size_t
gt
[
3
]
=
{
groupnum
*
256
,
1
,
1
},
lt
[
3
]
=
{
256
,
1
,
1
};
// kernel use fixed grid size, replace lt on NULL is imposible without kernel changes
// kernel use fixed grid size, replace lt on NULL is impos
s
ible without kernel changes
openCLExecuteKernel
(
src
.
clCxt
,
&
arithm_minMaxLoc
,
"arithm_op_minMaxLoc"
,
gt
,
lt
,
args
,
-
1
,
-
1
,
build_options
);
}
...
...
@@ -1170,7 +1170,7 @@ static void arithmetic_minMaxLoc_mask_run(const oclMat &src, const oclMat &mask,
args
.
push_back
(
make_pair
(
sizeof
(
cl_mem
)
,
(
void
*
)
&
mask
.
data
));
args
.
push_back
(
make_pair
(
sizeof
(
cl_mem
)
,
(
void
*
)
&
dst
));
// kernel use fixed grid size, replace lt on NULL is imposible without kernel changes
// kernel use fixed grid size, replace lt on NULL is impos
s
ible without kernel changes
openCLExecuteKernel
(
src
.
clCxt
,
&
arithm_minMaxLoc_mask
,
"arithm_op_minMaxLoc_mask"
,
gt
,
lt
,
args
,
-
1
,
-
1
,
build_options
);
}
}
...
...
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