[Beignet] [PATCH 1/4] Add preprocessor #define that match the extension name string.
Zhigang Gong
zhigang.gong at linux.intel.com
Tue Oct 29 03:44:04 CET 2013
LGTM, pushed the whole series, thanks.
On Mon, Oct 28, 2013 at 02:02:15PM +0800, Yang Rong wrote:
>
> Signed-off-by: Yang Rong <rong.r.yang at intel.com>
> ---
> backend/src/ocl_stdlib.tmpl.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/backend/src/ocl_stdlib.tmpl.h b/backend/src/ocl_stdlib.tmpl.h
> index 9fe38b6..9984b6e 100644
> --- a/backend/src/ocl_stdlib.tmpl.h
> +++ b/backend/src/ocl_stdlib.tmpl.h
> @@ -114,6 +114,14 @@ typedef size_t __event_t;
> #define __kernel_exec(X, TYPE) __kernel __attribute__((work_group_size_hint(X,1,1))) \
> __attribute__((vec_type_hint(TYPE)))
> #define kernel_exec(X, TYPE) __kernel_exec(X, TYPE)
> +#define cl_khr_global_int32_base_atomics
> +#define cl_khr_global_int32_extended_atomics
> +#define cl_khr_local_int32_base_atomics
> +#define cl_khr_local_int32_extended_atomics
> +#define cl_khr_byte_addressable_store
> +#define cl_khr_icd
> +#define cl_khr_gl_sharing
> +
> /////////////////////////////////////////////////////////////////////////////
> // OpenCL floating-point macros and pragmas
> /////////////////////////////////////////////////////////////////////////////
> --
> 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