From 51af8dd083cb06750326122a79360aa9ba30d94d Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sun, 1 Dec 2019 19:46:15 +0100 Subject: [PATCH] fosphor/cl: Declare the target OpenCL version to avoid warning Signed-off-by: Sylvain Munaut --- lib/fosphor/cl_platform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fosphor/cl_platform.h b/lib/fosphor/cl_platform.h index 0b080d6..4911253 100644 --- a/lib/fosphor/cl_platform.h +++ b/lib/fosphor/cl_platform.h @@ -27,6 +27,7 @@ # define _WIN32 #endif +#define CL_TARGET_OPENCL_VERSION 120 #if defined(__APPLE__) || defined(MACOSX) # include