[Beignet] [PATCH] Enable int32 atomic extensions.

Zhigang Gong zhigang.gong at linux.intel.com
Thu Jun 27 19:57:06 PDT 2013


I think we could add khr_fp64 too. I will merge it into this patch, and will
push it latter. Thanks.

> -----Original Message-----
> From: beignet-bounces+zhigang.gong=linux.intel.com at lists.freedesktop.org
>
[mailto:beignet-bounces+zhigang.gong=linux.intel.com at lists.freedesktop.org]
> On Behalf Of Yang Rong
> Sent: Friday, June 28, 2013 10:50 AM
> To: beignet at lists.freedesktop.org
> Cc: Yang Rong
> Subject: [Beignet] [PATCH] Enable int32 atomic extensions.
> 
> 
> Signed-off-by: Yang Rong <rong.r.yang at intel.com>
> ---
>  src/cl_extensions.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/cl_extensions.c b/src/cl_extensions.c index
052b589..6558bfc
> 100644
> --- a/src/cl_extensions.c
> +++ b/src/cl_extensions.c
> @@ -26,8 +26,8 @@ void check_basic_extension(cl_extensions_t *extensions)
> {
>    int id;
>    for(id = BASE_EXT_START_ID; id <= BASE_EXT_END_ID; id++)
> -    //It seems we only support this mandatory extension.
> -    if (id == EXT_ID(khr_byte_addressable_store))
> +    //Support baisc extension except fp64.
> +    if (id != EXT_ID(khr_fp64))
>        extensions->extensions[id].base.ext_enabled = 1;  }
> 
> --
> 1.7.10.4
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet



More information about the Beignet mailing list