[Beignet] [PATCH] Make ceil() work
Homer Hsing
homer.xing at intel.com
Fri Apr 26 23:13:26 PDT 2013
Delete an extra comma in ocl_stdlib.h, then ceil() works. Fun
Signed-off-by: Homer Hsing <homer.xing at intel.com>
---
backend/src/ocl_stdlib.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/ocl_stdlib.h b/backend/src/ocl_stdlib.h
index 79616b8..a21f332 100644
--- a/backend/src/ocl_stdlib.h
+++ b/backend/src/ocl_stdlib.h
@@ -728,7 +728,7 @@ INLINE OVERLOADABLE float16 mix(float16 x, float16 y, float a) { return mix(x,y,
#define trunc __gen_ocl_internal_trunc
#define round __gen_ocl_internal_round
#define floor __gen_ocl_internal_floor
-#define ceil __gen_ocl_internal_ceil,
+#define ceil __gen_ocl_internal_ceil
#define log __gen_ocl_internal_log
#define log2 __gen_ocl_internal_log2
#define log10 __gen_ocl_internal_log10
--
1.8.1.2
More information about the Beignet
mailing list