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
d34e7eca
Commit
d34e7eca
authored
May 06, 2013
by
peng xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress warning when compiling deprecated OpenCL function on GNU compilers.
parent
1eca49f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
mcwutil.cpp
modules/ocl/src/mcwutil.cpp
+7
-0
No files found.
modules/ocl/src/mcwutil.cpp
View file @
d34e7eca
...
...
@@ -179,6 +179,10 @@ namespace cv
else
#endif
{
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
texture
=
clCreateImage2D
(
(
cl_context
)
mat
.
clCxt
->
oclContext
(),
CL_MEM_READ_WRITE
,
...
...
@@ -188,6 +192,9 @@ namespace cv
0
,
NULL
,
&
err
);
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
size_t
origin
[]
=
{
0
,
0
,
0
};
size_t
region
[]
=
{
mat
.
cols
,
mat
.
rows
,
1
};
...
...
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