From e3ce88154ab4a6f9a8efe77f551a4b3d0710bcfb Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sun, 8 Mar 2020 10:14:59 +0100 Subject: Silenced a new OpenCL warning message --- CHANGELOG | 3 +++ src/clpp11.hpp | 1 + src/database/database_structure.hpp | 1 + 3 files changed, 5 insertions(+) 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 // 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" -- cgit v1.2.3