summaryrefslogtreecommitdiff
path: root/samples/sgemm_batched.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2023-05-14 11:25:15 +0200
committerGitHub <noreply@github.com>2023-05-14 11:25:15 +0200
commit221121b8407d5538cfed2f53973303f02810d856 (patch)
tree2040b81a268d10f8f51aa37af4d16bc3a9d74489 /samples/sgemm_batched.cpp
parent8d2f3540e9b2081c8550d3ffb4fd53e94ca7b54f (diff)
Add Github Actions CI (#464)
This replaces the old Travis CI builds with Github Actions that test on both Ubuntu and MacOS, with both Clang and GCC. The builds on macOS also run the tests and some other programs, on Ubuntu OpenCL is not working at the moment. Because these tests use new/different compilers, I fixed a few warnings and errors along the way.
Diffstat (limited to 'samples/sgemm_batched.cpp')
-rw-r--r--samples/sgemm_batched.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/samples/sgemm_batched.cpp b/samples/sgemm_batched.cpp
index a839d305..d17d31c3 100644
--- a/samples/sgemm_batched.cpp
+++ b/samples/sgemm_batched.cpp
@@ -25,8 +25,9 @@
// 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
+#define CL_HPP_TARGET_OPENCL_VERSION 120
+#define CL_HPP_MINIMUM_OPENCL_VERSION 120
+#define CL_TARGET_OPENCL_VERSION 120
#include "opencl.hpp"
// Includes the CLBlast library