From: Andreas Beckmann Date: Fri, 7 Jan 2022 23:55:22 +0000 (+0000) Subject: the pocl cl extensions are not yet in the upstream cl headers X-Git-Tag: archive/raspbian/1.8-3+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6583569fe10a077d46f0532366c2e288e60055c7;p=pocl.git the pocl cl extensions are not yet in the upstream cl headers Forwarded: no-needed Gbp-Pq: Name cl_ext_pocl.patch --- 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