hliao added a comment.

In D78655#2011823 <https://reviews.llvm.org/D78655#2011823>, @pfultz2 wrote:

> > says we capture host variable reference in a device lambda.
>
> Is that required to be an error? I know @AlexVlx added support to hcc at one 
> point to capture host variables by reference. So it seems to be possible for 
> it to work correctly. So it doesn't seem to be like reason enough to disallow 
> implicit HD.


Do we have a mechanism to allow device code to access the local auto variable 
on the host side?


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

https://reviews.llvm.org/D78655



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to