Merge pull request #11815 from tomoaki0705:suppressDeprecatedWarning

This commit is contained in:
Alexander Alekhin 2018-06-23 17:55:12 +00:00
commit fa813d02fa

View File

@ -14,6 +14,8 @@
#include <iomanip>
#include <stdexcept>
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS // eliminate build warning
#ifdef __APPLE__