the pocl cl extensions are not yet in the upstream cl headers
authorAndreas Beckmann <anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000 (23:55 +0000)
committerAndreas Beckmann <anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000 (23:55 +0000)
Forwarded: no-needed

Gbp-Pq: Name cl_ext_pocl.patch

lib/CL/pocl_cl.h
tests/runtime/test_cl_pocl_content_size.c

index 0fd6d05d8406d4349a0ab4a0b670b78de0c190d8..48d9334298225d0f72b4ef1592fed92cefa02e31 100644 (file)
@@ -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
index e5171f404a52245c17ab975ee9f55334d226bcef..7d119afd7d49d948488b656563546984cfabebb9 100644 (file)
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <_CL/cl_ext_pocl.h>
 
 #define SRC_CHAR 1
 #define DST_CHAR 2