[Beignet] [PATCH] Runtime: Add CL base object for all cl objects.
He Junyan
junyan.he at inbox.com
Tue Jul 19 07:46:07 UTC 2016
On Fri, Jul 15, 2016 at 11:50:06AM +0200, Simon Richter wrote:
> Date: Fri, 15 Jul 2016 11:50:06 +0200
> From: Simon Richter <Simon.Richter at hogyros.de>
> To: beignet at lists.freedesktop.org
> Subject: Re: [Beignet] [PATCH] Runtime: Add CL base object for all cl
> objects.
>
> Hi,
>
> On 14.07.2016 10:15, junyan.he at inbox.com wrote:
>
> > The runtime code is a little verbose in CL object handle.
> > Every CL objects should have a reference, a lock to protect itself
> > and an ICD dispatcher. We can organize them to a struct and place
> > it at the beginning of each CL object.
>
> Does that mean that only a single call to DEFINE_ICD() and SET_ICD()
> remains? If so, can/should these be inlined?
Really it is, it's useless to define a Macro.
Thanks.
>
> Simon
>
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!
More information about the Beignet
mailing list