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

Yang Rong rong.r.yang at intel.com
Fri Dec 30 07:59:12 UTC 2016


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



More information about the Beignet mailing list