diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2022-09-27 22:45:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-27 22:45:49 +0200 |
commit | d55840e16cda7cb8bb8b8c81e5294833c81913e8 (patch) | |
tree | 04a929951ed0ad37523c78c6bdc60f64d6b2f1e7 /samples | |
parent | 38fa34b43243722330e2ae1caffa344745d612c8 (diff) | |
parent | e0806350195375385f4b4aab27ec9f2b54fc0fbe (diff) |
Merge pull request #442 from CNugteren/update_version_to_1_5_3
Update to version 1.5.3
Diffstat (limited to 'samples')
-rw-r--r-- | samples/dtrsm.cpp | 6 | ||||
-rw-r--r-- | samples/sgemm.cpp | 6 | ||||
-rw-r--r-- | samples/sgemm_batched.cpp | 6 | ||||
-rw-r--r-- | samples/tuning_api.cpp | 6 |
4 files changed, 16 insertions, 8 deletions
diff --git a/samples/dtrsm.cpp b/samples/dtrsm.cpp index 6d37dad7..c558d1f5 100644 --- a/samples/dtrsm.cpp +++ b/samples/dtrsm.cpp @@ -23,8 +23,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> 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> diff --git a/samples/sgemm_batched.cpp b/samples/sgemm_batched.cpp index 32c465c7..a839d305 100644 --- a/samples/sgemm_batched.cpp +++ b/samples/sgemm_batched.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> diff --git a/samples/tuning_api.cpp b/samples/tuning_api.cpp index f92b6909..7d7294ad 100644 --- a/samples/tuning_api.cpp +++ b/samples/tuning_api.cpp @@ -20,8 +20,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> |