[PATCH] D88524: [CUDA][HIP] Fix bound arch for offload action for fat binary
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 1 10:34:10 PDT 2020
tra accepted this revision.
tra added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/lib/Basic/Cuda.cpp:95
const char *CudaArchToString(CudaArch A) {
+ if (A == CudaArch::UNUSED)
+ return "";
----------------
You could add a `{CudaArch::UNUSED, "", ""}` to the table above instead of explicit checks here.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88524/new/
https://reviews.llvm.org/D88524
More information about the cfe-commits
mailing list