From 6583569fe10a077d46f0532366c2e288e60055c7 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Fri, 7 Jan 2022 23:55:22 +0000 Subject: [PATCH] the pocl cl extensions are not yet in the upstream cl headers Forwarded: no-needed Gbp-Pq: Name cl_ext_pocl.patch --- lib/CL/pocl_cl.h | 1 + tests/runtime/test_cl_pocl_content_size.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/CL/pocl_cl.h b/lib/CL/pocl_cl.h index 0fd6d05..48d9334 100644 --- a/lib/CL/pocl_cl.h +++ b/lib/CL/pocl_cl.h @@ -62,6 +62,7 @@ typedef pthread_t pocl_thread_t; #include "pocl_hash.h" #include "pocl_runtime_config.h" #include "common.h" +#include "_CL/cl_ext_pocl.h" #if __STDC_VERSION__ < 199901L # if __GNUC__ >= 2 diff --git a/tests/runtime/test_cl_pocl_content_size.c b/tests/runtime/test_cl_pocl_content_size.c index e5171f4..7d119af 100644 --- a/tests/runtime/test_cl_pocl_content_size.c +++ b/tests/runtime/test_cl_pocl_content_size.c @@ -25,6 +25,7 @@ #include #include #include +#include <_CL/cl_ext_pocl.h> #define SRC_CHAR 1 #define DST_CHAR 2 -- 2.30.2