[PATCH] D88524: [CUDA][HIP] Fix bound arch for offload action for fat binary
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 1 13:22:06 PDT 2020
yaxunl marked an inline comment as done.
yaxunl added inline comments.
================
Comment at: clang/lib/Basic/Cuda.cpp:95
const char *CudaArchToString(CudaArch A) {
+ if (A == CudaArch::UNUSED)
+ return "";
----------------
tra wrote:
> You could add a `{CudaArch::UNUSED, "", ""}` to the table above instead of explicit checks here.
will do when committing
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88524/new/
https://reviews.llvm.org/D88524
More information about the cfe-commits
mailing list