suppress warning while building the samples

This commit is contained in:
Tomoaki Teshima 2018-06-23 21:35:25 +09:00
parent 8b5e29c234
commit ffb9ce8287

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__