summaryrefslogtreecommitdiff
path: root/samples/dtrsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/dtrsm.cpp')
-rw-r--r--samples/dtrsm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/dtrsm.cpp b/samples/dtrsm.cpp
index 979c01d9..c558d1f5 100644
--- a/samples/dtrsm.cpp
+++ b/samples/dtrsm.cpp
@@ -24,6 +24,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