[Beignet] [PATCH] Add ICD dispatch table in cloned kernels
Zhigang Gong
zhigang.gong at linux.intel.com
Wed May 22 19:48:25 PDT 2013
Pushed, thanks.
btw, just a reminder that you missed to add your signature for
this pathces.
On Wed, May 22, 2013 at 04:38:16PM +0200, Simon Richter wrote:
> ---
> src/cl_kernel.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/cl_kernel.c b/src/cl_kernel.c
> index d8671c6..90aa0c2 100644
> --- a/src/cl_kernel.c
> +++ b/src/cl_kernel.c
> @@ -232,6 +232,7 @@ cl_kernel_dup(cl_kernel from)
> if (UNLIKELY(from == NULL))
> return NULL;
> TRY_ALLOC_NO_ERR (to, CALLOC(struct _cl_kernel));
> + SET_ICD(to->dispatch)
> to->bo = from->bo;
> to->const_bo = from->const_bo;
> to->opaque = from->opaque;
> --
> 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