the pocl cl extensions are not yet in the upstream cl headers
authorAndreas Beckmann <anbe@debian.org>
Fri, 15 Oct 2021 16:22:36 +0000 (17:22 +0100)
committerAndreas Beckmann <anbe@debian.org>
Fri, 15 Oct 2021 16:22:36 +0000 (17:22 +0100)
Forwarded: no-needed

Gbp-Pq: Name cl_ext_pocl.patch

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

index 14635dffe9ff7e92d876d77d1a5bea2001ecf8e7..dbe7fdec72d7b5cc4d30c467adc83d6e38e14488 100644 (file)
@@ -61,6 +61,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 638f0bf3d8b07fa1f0d0edca8abd33c3c464c4dc..169d5a10ff160eabe961d44c9210e49019f7e31d 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