summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2020-03-08 10:14:59 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2020-03-08 10:14:59 +0100
commite3ce88154ab4a6f9a8efe77f551a4b3d0710bcfb (patch)
tree6148e384807e94ad38a16a409de1cf389da129a1
parent8433985051c0fb9758fd8dfe7d19cc8eaca630e1 (diff)
Silenced a new OpenCL warning message
-rw-r--r--CHANGELOG3
-rw-r--r--src/clpp11.hpp1
-rw-r--r--src/database/database_structure.hpp1
3 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index de932972..b13c9381 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Development version (next version)
+- Various minor fixes and enhancements
+
Version 1.5.1
- Implemented single-kernel version of convolution as GEMM
- Now catches all exceptions thrown by the tuners
diff --git a/src/clpp11.hpp b/src/clpp11.hpp
index aeb14989..4ed157ea 100644
--- a/src/clpp11.hpp
+++ b/src/clpp11.hpp
@@ -47,6 +47,7 @@
#include <assert.h>
// OpenCL
+#define CL_TARGET_OPENCL_VERSION 110
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS // to disable deprecation warnings
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS // to disable deprecation warnings
diff --git a/src/database/database_structure.hpp b/src/database/database_structure.hpp
index 0199ec3a..ec6a16d2 100644
--- a/src/database/database_structure.hpp
+++ b/src/database/database_structure.hpp
@@ -21,6 +21,7 @@
// Just needed for 'Precision'
#ifdef OPENCL_API
+ #define CL_TARGET_OPENCL_VERSION 110
#include "clblast.h"
#elif CUDA_API
#include "clblast_cuda.h"