From fd7aeee3dc2398cd3089682794e2704acf9de045 Mon Sep 17 00:00:00 2001 From: Homer Hsing Date: Sat, 27 Apr 2013 14:13:26 +0800 Subject: [PATCH] Make ceil() work Delete an extra comma in ocl_stdlib.h, then ceil() works. Fun Signed-off-by: Homer Hsing Reviewed-by: Zhigang Gong --- 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 -- 2.7.4