mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-27 09:40:59 -06:00
Prevent deprecation warning about cl2.hpp: __CL_ENABLE_EXCEPTIONS.
This commit is contained in:
parent
4de52a8d30
commit
9197ee3e20
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user