[PATCH] D75811: [CUDA] Choose default architecture based on CUDA installation
Raul Tambre via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 7 10:16:54 PST 2020
tambre added inline comments.
================
Comment at: clang/lib/Driver/Driver.cpp:642
+ *this, CudaTriple, *HostTC, C.getInputArgs(), OFK);
+ C.getArgs().AddJoinedArg(
+ nullptr, getOpts().getOption(options::OPT_cuda_version_EQ),
----------------
This isn't very pretty. Any better ideas for how to pass the current CUDA version or default arch to `CudaActionBuilder`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75811/new/
https://reviews.llvm.org/D75811
More information about the cfe-commits
mailing list