[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
Mon Apr 19 10:40:33 PDT 2021


yaxunl updated this revision to Diff 338552.
yaxunl marked an inline comment as done.
yaxunl added a comment.

Rebase and fix HIP header bug exposed by this patch.


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

https://reviews.llvm.org/D98193

Files:
  clang/lib/Headers/__clang_hip_math.h
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CodeGenCUDA/device-use-host-var.cu
  clang/test/Headers/hip-header.hip
  clang/test/SemaCUDA/device-use-host-var.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98193.338552.patch
Type: text/x-patch
Size: 13842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210419/4257b0e4/attachment-0001.bin>


More information about the cfe-commits mailing list