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:[email protected]] On Behalf Of Yang 
Rong
Sent: Friday, December 30, 2016 3:59 PM
To: [email protected]
Cc: Yang, Rong R <[email protected]>
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 <[email protected]>
---
 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to