[clang] 76a412e - [HIP] Fix help text for -fgpu-allow-device-init
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 27 07:06:50 PDT 2021
Author: Yaxun (Sam) Liu
Date: 2021-04-27T10:06:32-04:00
New Revision: 76a412e7a330964fe9914cbaaa0772feef771a28
URL: https://github.com/llvm/llvm-project/commit/76a412e7a330964fe9914cbaaa0772feef771a28
DIFF: https://github.com/llvm/llvm-project/commit/76a412e7a330964fe9914cbaaa0772feef771a28.diff
LOG: [HIP] Fix help text for -fgpu-allow-device-init
Add 'experimental' to help text.
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 df3049fe4032..8de28538192c 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -942,7 +942,7 @@ defm hip_new_launch_api : BoolFOption<"hip-new-launch-api",
defm gpu_allow_device_init : BoolFOption<"gpu-allow-device-init",
LangOpts<"GPUAllowDeviceInit">, DefaultFalse,
PosFlag<SetTrue, [CC1Option], "Allow">, NegFlag<SetFalse, [], "Don't allow">,
- BothFlags<[], " device side init function in HIP">>,
+ BothFlags<[], " device side init function in HIP (experimental)">>,
ShouldParseIf<hip.KeyPath>;
defm gpu_defer_diag : BoolFOption<"gpu-defer-diag",
LangOpts<"GPUDeferDiag">, DefaultFalse,
More information about the cfe-commits
mailing list