[clang] 684dc1b - Elaborate more on --rocm-path flag.
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Tue May 5 06:33:26 PDT 2020
Author: Matt Arsenault
Date: 2020-05-05T09:33:18-04:00
New Revision: 684dc1bebe5cb70cfd27923940f9f8cba4f13195
URL: https://github.com/llvm/llvm-project/commit/684dc1bebe5cb70cfd27923940f9f8cba4f13195
DIFF: https://github.com/llvm/llvm-project/commit/684dc1bebe5cb70cfd27923940f9f8cba4f13195.diff
LOG: Elaborate more on --rocm-path flag.
I'm not sure what the conventions are for this documentation. The
format seems limiting. I don't see how to refer to other flags, or
mark flags as deprecated. The rst I believe these generate seems to be
in source, and out of date.
Added:
Modified:
clang/include/clang/Driver/Options.td
Removed:
################################################################################
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index f9850c60f62d..66b98b1e46fa 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -609,9 +609,9 @@ def fcuda_short_ptr : Flag<["-"], "fcuda-short-ptr">, Flags<[CC1Option]>,
HelpText<"Use 32-bit pointers for accessing const/local/shared address spaces.">;
def fno_cuda_short_ptr : Flag<["-"], "fno-cuda-short-ptr">;
def rocm_path_EQ : Joined<["--"], "rocm-path=">, Group<i_Group>,
- HelpText<"ROCm installation path">;
+ HelpText<"ROCm installation path, used for finding and automatically linking required bitcode libraries.">;
def hip_device_lib_path_EQ : Joined<["--"], "hip-device-lib-path=">, Group<Link_Group>,
- HelpText<"HIP device library path">;
+ HelpText<"HIP device library path. Alternative to rocm-path.">;
def hip_device_lib_EQ : Joined<["--"], "hip-device-lib=">, Group<Link_Group>,
HelpText<"HIP device library">;
def fhip_dump_offload_linker_script : Flag<["-"], "fhip-dump-offload-linker-script">,
More information about the cfe-commits
mailing list