[PATCH] D61304: [OpenCL][PR41609] Deduce static data members to __global addr space

Ronan Keryell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 1 19:37:49 PDT 2019


keryell added a comment.

In D61304#1485814 <https://reviews.llvm.org/D61304#1485814>, @Anastasia wrote:

> In D61304#1485125 <https://reviews.llvm.org/D61304#1485125>, @rjmccall wrote:
>
> > Presumably a similar rule would apply to thread-locals if you supported them.
>
>
> We don't support them in OpenCL.


But this is also about OpenCL extensions here anyway...
Is thread-local not somewhat equivalent to work-item local, i.e. `__private`?
But I am unsure we want to really handle this, while it is already an issue in the discussion about execution contexts in ISO C++... :-)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61304/new/

https://reviews.llvm.org/D61304





More information about the cfe-commits mailing list