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
6686559c
Commit
6686559c
authored
Mar 26, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocl: define CL_SILENCE_DEPRECATION on MacOSX
parent
5f88bbe3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
opencl_core.hpp
...opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp
+1
-0
opencl_core.hpp.in
.../src/opencl/runtime/generator/template/opencl_core.hpp.in
+1
-0
opencl_core.cpp
modules/core/src/opencl/runtime/opencl_core.cpp
+1
-0
opencl-opencv-interop.cpp
samples/opencl/opencl-opencv-interop.cpp
+1
-0
No files found.
modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp
View file @
6686559c
...
...
@@ -96,6 +96,7 @@
#define clWaitForEvents clWaitForEvents_
#if defined __APPLE__
#define CL_SILENCE_DEPRECATION
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>
...
...
modules/core/src/opencl/runtime/generator/template/opencl_core.hpp.in
View file @
6686559c
...
...
@@ -5,6 +5,7 @@
@CL_REMAP_ORIGIN@
#if defined __APPLE__
#define CL_SILENCE_DEPRECATION
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>
...
...
modules/core/src/opencl/runtime/opencl_core.cpp
View file @
6686559c
...
...
@@ -47,6 +47,7 @@
#if defined(HAVE_OPENCL_STATIC)
#if defined __APPLE__
#define CL_SILENCE_DEPRECATION
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>
...
...
samples/opencl/opencl-opencv-interop.cpp
View file @
6686559c
...
...
@@ -19,6 +19,7 @@
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS // eliminate build warning
#ifdef __APPLE__
#define CL_SILENCE_DEPRECATION
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>
...
...
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