[Beignet] [PATCH] Runtime: add the head file to avoid implicit declaration of function ‘cl_devices_list_include_check’ warning.

Pan, Xiuli xiuli.pan at intel.com
Fri Dec 30 06:40:29 UTC 2016


LGMT, there is also a waring at home/pxl/beignet/src/cl_kernel.c:304 In function ‘cl_kernel_set_arg_svm_pointer’

-----Original Message-----
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Yang Rong
Sent: Friday, December 30, 2016 3:59 PM
To: beignet at lists.freedesktop.org
Cc: Yang, Rong R <rong.r.yang at intel.com>
Subject: [Beignet] [PATCH] Runtime: add the head file to avoid implicit declaration of function ‘cl_devices_list_include_check’ warning.

Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
 src/cl_api_program.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cl_api_program.c b/src/cl_api_program.c index 5acd1a8..d68f29f 100644
--- a/src/cl_api_program.c
+++ b/src/cl_api_program.c
@@ -17,6 +17,7 @@
  */
 #include "cl_context.h"
 #include "cl_program.h"
+#include "cl_device_id.h"
 #include <string.h>
 
 cl_int
--
2.1.4

_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list