[Beignet] [Printf][PATCH 05/11] Add LLVM fcuntion definition of printf.

Yan Wang yan.wang at linux.intel.com
Wed Jan 20 19:29:50 PST 2016


Contributor: Junyan He <junyan.he at linux.intel.com>
Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
 backend/src/llvm/llvm_gen_ocl_function.hxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/backend/src/llvm/llvm_gen_ocl_function.hxx b/backend/src/llvm/llvm_gen_ocl_function.hxx
index e3d89a3..dd7816c 100644
--- a/backend/src/llvm/llvm_gen_ocl_function.hxx
+++ b/backend/src/llvm/llvm_gen_ocl_function.hxx
@@ -171,7 +171,8 @@ DECL_LLVM_GEN_FUNCTION(REGION, __gen_ocl_region)
 DECL_LLVM_GEN_FUNCTION(VME, __gen_ocl_vme)
 
 // printf function
-DECL_LLVM_GEN_FUNCTION(PRINTF, __gen_ocl_printf)
+DECL_LLVM_GEN_FUNCTION(PRINTF, __gen_ocl_printf_stub)
+DECL_LLVM_GEN_FUNCTION(PUTS, __gen_ocl_puts_stub)
 
 // store timestamp function
 DECL_LLVM_GEN_FUNCTION(CALC_TIMESTAMP, __gen_ocl_calc_timestamp)
-- 
2.4.3



More information about the Beignet mailing list