summaryrefslogtreecommitdiff
path: root/samples/sgemm.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2022-09-27 22:45:49 +0200
committerGitHub <noreply@github.com>2022-09-27 22:45:49 +0200
commitd55840e16cda7cb8bb8b8c81e5294833c81913e8 (patch)
tree04a929951ed0ad37523c78c6bdc60f64d6b2f1e7 /samples/sgemm.cpp
parent38fa34b43243722330e2ae1caffa344745d612c8 (diff)
parente0806350195375385f4b4aab27ec9f2b54fc0fbe (diff)
Merge pull request #442 from CNugteren/update_version_to_1_5_3
Update to version 1.5.3
Diffstat (limited to 'samples/sgemm.cpp')
-rw-r--r--samples/sgemm.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/samples/sgemm.cpp b/samples/sgemm.cpp
index ab7858e1..534ffa78 100644
--- a/samples/sgemm.cpp
+++ b/samples/sgemm.cpp
@@ -24,8 +24,10 @@
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings
// Includes the C++ OpenCL API. If not yet available, it can be found here:
-// https://www.khronos.org/registry/cl/api/1.1/cl.hpp
-#include "cl.hpp"
+// 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
#include <clblast.h>