[PATCH] D117137: [Driver] Add CUDA support for --offline param
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 20 11:48:24 PST 2022
yaxunl added a comment.
The title says `--offline` option, which should be `--offload`.
================
Comment at: clang/include/clang/Driver/Options.td:1142
def offload_EQ : CommaJoined<["--"], "offload=">, Flags<[NoXarchOption]>,
- HelpText<"Specify comma-separated list of offloading target triples"
- " (HIP only)">;
+ HelpText<"Specify comma-separated list of offloading target triples">;
----------------
There are other offloading toolchains e.g. OpenMP or SYCL. This option only supports CUDA and HIP, so it is better to add "(CUDA and HIP only)".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117137/new/
https://reviews.llvm.org/D117137
More information about the cfe-commits
mailing list