Skip to content

Commit f77ce52

Browse files
jinge90baderjhuber6
authored
[Driver][NFC] Don't specify offloading model in help text for -Xarch_device/host (#165503)
Current implementation for -Xarch_device/host can work in any offloading model besides CUDA/HIP, so remove the specific offloading model in help text to align with implementation. --------- Signed-off-by: jinge90 <[email protected]> Co-authored-by: Alexey Bader <[email protected]> Co-authored-by: Joseph Huber <[email protected]>
1 parent a8de649 commit f77ce52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,9 @@ def Xarch__
951951
the host system, which can be used to suppress incompatible GPU arguments.}]>,
952952
MetaVarName<"<arch> <arg>">;
953953
def Xarch_host : Separate<["-"], "Xarch_host">, Flags<[NoXarchOption]>,
954-
HelpText<"Pass <arg> to the CUDA/HIP host compilation">, MetaVarName<"<arg>">;
954+
HelpText<"Pass <arg> to host compilation in the offloading toolchain">, MetaVarName<"<arg>">;
955955
def Xarch_device : Separate<["-"], "Xarch_device">, Flags<[NoXarchOption]>,
956-
HelpText<"Pass <arg> to the CUDA/HIP device compilation">, MetaVarName<"<arg>">;
956+
HelpText<"Pass <arg> to device compilation in the offloading toolchain">, MetaVarName<"<arg>">;
957957
def Xassembler : Separate<["-"], "Xassembler">,
958958
HelpText<"Pass <arg> to the assembler">, MetaVarName<"<arg>">,
959959
Group<CompileOnly_Group>;

0 commit comments

Comments
 (0)