2 #include <dlprim/config.hpp> 3 #ifndef DLPRIM_USE_CL1_HPP 4 # ifndef CL_HPP_ENABLE_EXCEPTIONS 5 # define CL_HPP_ENABLE_EXCEPTIONS 7 # ifndef CL_HPP_MINIMUM_OPENCL_VERSION 8 # define CL_HPP_MINIMUM_OPENCL_VERSION 120 10 # ifndef CL_TARGET_OPENCL_VERSION 11 # define CL_TARGET_OPENCL_VERSION 120 13 # ifndef CL_HPP_TARGET_OPENCL_VERSION 14 # define CL_HPP_TARGET_OPENCL_VERSION 120 16 # include <CL/cl2.hpp> 18 # ifndef CL_TARGET_OPENCL_VERSION 19 # define CL_TARGET_OPENCL_VERSION 120 21 # ifndef __CL_ENABLE_EXCEPTIONS 22 # define __CL_ENABLE_EXCEPTIONS