HomePhabricator

[CUDA][HIP] Let lambda be host device by default

Authored by yaxunl on Apr 16 2020, 8:51 PM.

Description

[CUDA][HIP] Let lambda be host device by default

This patch let lambda be host device by default and adds diagnostics for
capturing host variable by reference in device lambda.

Differential Revision: https://reviews.llvm.org/D78655