summaryrefslogtreecommitdiff
path: root/samples/tuning_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tuning_api.cpp')
-rw-r--r--samples/tuning_api.cpp2
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