[PATCH] D78655: [HIP] Add -fhip-lambda-host-device

Paul Fultz II via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 4 09:37:50 PDT 2020


pfultz2 added a comment.

Is it possible to add a test like this?

  kernel<<<1,1>>>([=](){ 
      auto f = [&]{ hd(); };
      f(); 
  });

That should not have a compiler error.


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

https://reviews.llvm.org/D78655





More information about the cfe-commits mailing list