[PATCH] D98193: [CUDA][HIP] Allow non-ODR use of host var in device

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 7 12:31:18 PDT 2021


yaxunl updated this revision to Diff 335904.
yaxunl added a comment.

fix test failure on windows. need to specify triple since it affects name mangling.


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

https://reviews.llvm.org/D98193

Files:
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CodeGenCUDA/device-use-host-var.cu
  clang/test/SemaCUDA/device-use-host-var.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98193.335904.patch
Type: text/x-patch
Size: 12634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210407/4e6a746d/attachment-0001.bin>


More information about the cfe-commits mailing list