[OpenCL] __generic address space for CL2.0

Aaron Ballman aaron at aaronballman.com
Wed Nov 19 05:44:47 PST 2014


On Wed, Nov 19, 2014 at 7:24 AM, Anastasia Stulova
<anastasia.stulova at arm.com> wrote:
>
>
> -----Original Message-----
> From: aaron.ballman at gmail.com [mailto:aaron.ballman at gmail.com] On Behalf Of Aaron Ballman
> Sent: 17 November 2014 19:02
> To: Anastasia Stulova
> Cc: llvm cfe
> Subject: Re: [OpenCL] __generic address space for CL2.0
>
>>  I am not certain what "in the local to a work" means.
>
>> I am not certain what "in the private to a work item" means.
>
> In OpenCL there is such a thing as "work item" that is some sort of a thread executing a portion of work shared among multiple threads (that form work groups altogether).
>
> So private/local to work item/group refers to a region of memory that is either accessible by one thread or a group of threads respectively.
>
> Does it clarify a bit what I am trying to say?

Yes, thank you! I think it should be worded: "The local address space
specifies that an object is allocated in the local work group memory
area, which is accessible to all work items in the same work group."
(Same for other uses of "in the * to a work item".)

~Aaron

>
> Regards,
> Anastasia
>
>
>
>



More information about the cfe-commits mailing list