diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2022-09-27 21:09:35 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2022-09-27 21:09:35 +0200 |
commit | 5c608d97cd1842400c1c3f36348ca669c95981e2 (patch) | |
tree | b739091df8f8b84037b39215bd550781034495bb /samples/tuning_api.cpp | |
parent | f7db4c5d45db1ebbc9cc824cbda652b88362574c (diff) |
Properly set OpenCL target to version 2.1
Diffstat (limited to 'samples/tuning_api.cpp')
-rw-r--r-- | samples/tuning_api.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/tuning_api.cpp b/samples/tuning_api.cpp index ea75c7f9..7d7294ad 100644 --- a/samples/tuning_api.cpp +++ b/samples/tuning_api.cpp @@ -21,6 +21,8 @@ // Includes the C++ OpenCL API. If not yet available, it can be found here: // https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp +#define CL_HPP_TARGET_OPENCL_VERSION 210 +#define CL_TARGET_OPENCL_VERSION 210 #include "opencl.hpp" // Includes the CLBlast library |