[Beignet] [PATCH] Make ceil() work
Zhigang Gong
zhigang.gong at linux.intel.com
Sat Apr 27 03:56:50 PDT 2013
LGTM, pushed. Thanks.
On Sat, Apr 27, 2013 at 02:13:26PM +0800, Homer Hsing wrote:
> 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
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list