Prevent deprecation warning about cl2.hpp: __CL_ENABLE_EXCEPTIONS.

This commit is contained in:
Markus Blatt 2021-10-28 17:09:22 +02:00
parent 4de52a8d30
commit 9197ee3e20

View File

@ -20,7 +20,7 @@
/// This file includes the relevant OpenCL header(s)
/// All bda files using OpenCL declarations should include this header
#define __CL_ENABLE_EXCEPTIONS
#define CL_HPP_ENABLE_EXCEPTIONS
#define CL_TARGET_OPENCL_VERSION 120 // indicate OpenCL 1.2 is used
#define CL_HPP_TARGET_OPENCL_VERSION 120 // indicate OpenCL 1.2 is used
#define CL_HPP_MINIMUM_VERSION 120