[PATCH] D69938: [OpenCL] Use __generic addr space when generating internal representation of lambda

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 08:09:49 PST 2019


rjmccall added a comment.

> I was already planning to add this. I could look into it next and maybe just a add FIXME in the test for now.

Sure.

> Btw global lambda objects are in `__global` address space in OpenCL.

Just based on being written outside of a function body or in a static-local initializer?  I guess it's supportable; you can reasonably allocate global memory for those temporaries.


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

https://reviews.llvm.org/D69938





More information about the cfe-commits mailing list