[Beignet] [PATCH] libocl: Add macro define for fp16.
junyan.he at inbox.com
junyan.he at inbox.com
Mon Jul 13 01:54:59 PDT 2015
From: Junyan He <junyan.he at linux.intel.com>
Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
backend/src/libocl/tmpl/ocl_defines.tmpl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/backend/src/libocl/tmpl/ocl_defines.tmpl.h b/backend/src/libocl/tmpl/ocl_defines.tmpl.h
index fe999b2..9c53093 100644
--- a/backend/src/libocl/tmpl/ocl_defines.tmpl.h
+++ b/backend/src/libocl/tmpl/ocl_defines.tmpl.h
@@ -35,5 +35,6 @@
#define cl_khr_icd
#define cl_khr_gl_sharing
#define cl_khr_spir
+#define cl_khr_fp16
#endif /* end of __OCL_COMMON_DEF_H__ */
--
1.9.1
More information about the Beignet
mailing list