Skip to content

Commit f037b89

Browse files
committed
[CUDA][HIP] Reorganize options for documentation
Reorganize options and group them as "Common Offloading options", "CUDA options" and "HIP options", so that they will be grouped together like "OpenCL options" and "SYCL options" in https://clang.llvm.org/docs/ClangCommandLineReference.html Reviewed by: Joseph Huber, Fangrui Song Differential Revision: https://reviews.llvm.org/D156886
1 parent 6b4de7b commit f037b89

File tree

1 file changed

+124
-87
lines changed

1 file changed

+124
-87
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 124 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,22 @@ def f_clang_Group : OptionGroup<"<f (clang-only) group>">,
150150
Group<CompileOnly_Group>, DocFlatten;
151151
def pedantic_Group : OptionGroup<"<pedantic group>">, Group<f_Group>,
152152
DocFlatten;
153+
154+
def offload_Group : OptionGroup<"<offload group>">, Group<f_Group>,
155+
DocName<"Common Offloading options">;
156+
153157
def opencl_Group : OptionGroup<"<opencl group>">, Group<f_Group>,
154158
DocName<"OpenCL options">;
155159

156160
def sycl_Group : OptionGroup<"<SYCL group>">, Group<f_Group>,
157161
DocName<"SYCL options">;
158162

163+
def cuda_Group : OptionGroup<"<CUDA group>">, Group<f_Group>,
164+
DocName<"CUDA options">;
165+
166+
def hip_Group : OptionGroup<"<HIP group>">, Group<f_Group>,
167+
DocName<"HIP options">;
168+
159169
def m_Group : OptionGroup<"<m group>">, Group<CompileOnly_Group>,
160170
DocName<"Target-dependent compilation options">;
161171

@@ -987,32 +997,108 @@ defm convergent_functions : BoolFOption<"convergent-functions",
987997
NegFlag<SetFalse, [], "Assume all functions may be convergent.">,
988998
PosFlag<SetTrue, [CC1Option]>>;
989999

1000+
// Common offloading options
1001+
let Group = offload_Group in {
1002+
def offload_arch_EQ : Joined<["--"], "offload-arch=">, Flags<[NoXarchOption]>,
1003+
HelpText<"Specify an offloading device architecture for CUDA, HIP, or OpenMP. (e.g. sm_35). "
1004+
"If 'native' is used the compiler will detect locally installed architectures. "
1005+
"For HIP offloading, the device architecture can be followed by target ID features "
1006+
"delimited by a colon (e.g. gfx908:xnack+:sramecc-). May be specified more than once.">;
1007+
def no_offload_arch_EQ : Joined<["--"], "no-offload-arch=">, Flags<[NoXarchOption]>,
1008+
HelpText<"Remove CUDA/HIP offloading device architecture (e.g. sm_35, gfx906) from the list of devices to compile for. "
1009+
"'all' resets the list to its default value.">;
1010+
1011+
def offload_new_driver : Flag<["--"], "offload-new-driver">, Flags<[CC1Option]>, Group<f_Group>,
1012+
MarshallingInfoFlag<LangOpts<"OffloadingNewDriver">>, HelpText<"Use the new driver for offloading compilation.">;
1013+
def no_offload_new_driver : Flag<["--"], "no-offload-new-driver">, Flags<[CC1Option]>, Group<f_Group>,
1014+
HelpText<"Don't Use the new driver for offloading compilation.">;
1015+
1016+
def offload_device_only : Flag<["--"], "offload-device-only">, Flags<[FlangOption]>,
1017+
HelpText<"Only compile for the offloading device.">;
1018+
def offload_host_only : Flag<["--"], "offload-host-only">, Flags<[FlangOption]>,
1019+
HelpText<"Only compile for the offloading host.">;
1020+
def offload_host_device : Flag<["--"], "offload-host-device">, Flags<[FlangOption]>,
1021+
HelpText<"Compile for both the offloading host and device (default).">;
1022+
9901023
def gpu_use_aux_triple_only : Flag<["--"], "gpu-use-aux-triple-only">,
9911024
InternalDriverOpt, HelpText<"Prepare '-aux-triple' only without populating "
9921025
"'-aux-target-cpu' and '-aux-target-feature'.">;
1026+
def amdgpu_arch_tool_EQ : Joined<["--"], "amdgpu-arch-tool=">,
1027+
HelpText<"Tool used for detecting AMD GPU arch in the system.">;
1028+
def nvptx_arch_tool_EQ : Joined<["--"], "nvptx-arch-tool=">,
1029+
HelpText<"Tool used for detecting NVIDIA GPU arch in the system.">;
1030+
1031+
defm gpu_rdc : BoolFOption<"gpu-rdc",
1032+
LangOpts<"GPURelocatableDeviceCode">, DefaultFalse,
1033+
PosFlag<SetTrue, [CC1Option], "Generate relocatable device code, also known as separate compilation mode">,
1034+
NegFlag<SetFalse>>;
1035+
1036+
def fgpu_default_stream_EQ : Joined<["-"], "fgpu-default-stream=">,
1037+
HelpText<"Specify default stream. The default value is 'legacy'. (CUDA/HIP only)">,
1038+
Flags<[CC1Option]>,
1039+
Values<"legacy,per-thread">,
1040+
NormalizedValuesScope<"LangOptions::GPUDefaultStreamKind">,
1041+
NormalizedValues<["Legacy", "PerThread"]>,
1042+
MarshallingInfoEnum<LangOpts<"GPUDefaultStream">, "Legacy">;
1043+
1044+
def fgpu_flush_denormals_to_zero : Flag<["-"], "fgpu-flush-denormals-to-zero">,
1045+
HelpText<"Flush denormal floating point values to zero in CUDA/HIP device mode.">;
1046+
def fno_gpu_flush_denormals_to_zero : Flag<["-"], "fno-gpu-flush-denormals-to-zero">;
1047+
1048+
defm gpu_defer_diag : BoolFOption<"gpu-defer-diag",
1049+
LangOpts<"GPUDeferDiag">, DefaultFalse,
1050+
PosFlag<SetTrue, [CC1Option], "Defer">, NegFlag<SetFalse, [], "Don't defer">,
1051+
BothFlags<[], " host/device related diagnostic messages for CUDA/HIP">>;
1052+
1053+
defm gpu_exclude_wrong_side_overloads : BoolFOption<"gpu-exclude-wrong-side-overloads",
1054+
LangOpts<"GPUExcludeWrongSideOverloads">, DefaultFalse,
1055+
PosFlag<SetTrue, [CC1Option], "Always exclude wrong side overloads">,
1056+
NegFlag<SetFalse, [], "Exclude wrong side overloads only if there are same side overloads">,
1057+
BothFlags<[HelpHidden], " in overloading resolution for CUDA/HIP">>;
1058+
1059+
def cuid_EQ : Joined<["-"], "cuid=">, Flags<[CC1Option]>,
1060+
HelpText<"An ID for compilation unit, which should be the same for the same "
1061+
"compilation unit but different for different compilation units. "
1062+
"It is used to externalize device-side static variables for single "
1063+
"source offloading languages CUDA and HIP so that they can be "
1064+
"accessed by the host code of the same compilation unit.">,
1065+
MarshallingInfoString<LangOpts<"CUID">>;
1066+
def fuse_cuid_EQ : Joined<["-"], "fuse-cuid=">,
1067+
HelpText<"Method to generate ID's for compilation units for single source "
1068+
"offloading languages CUDA and HIP: 'hash' (ID's generated by hashing "
1069+
"file path and command line options) | 'random' (ID's generated as "
1070+
"random numbers) | 'none' (disabled). Default is 'hash'. This option "
1071+
"will be overridden by option '-cuid=[ID]' if it is specified." >;
1072+
1073+
def fgpu_inline_threshold_EQ : Joined<["-"], "fgpu-inline-threshold=">,
1074+
Flags<[HelpHidden]>,
1075+
HelpText<"Inline threshold for device compilation for CUDA/HIP">;
1076+
1077+
def fgpu_sanitize : Flag<["-"], "fgpu-sanitize">, Group<f_Group>,
1078+
HelpText<"Enable sanitizer for supported offloading devices">;
1079+
def fno_gpu_sanitize : Flag<["-"], "fno-gpu-sanitize">, Group<f_Group>;
1080+
}
1081+
1082+
// CUDA options
1083+
let Group = cuda_Group in {
9931084
def cuda_include_ptx_EQ : Joined<["--"], "cuda-include-ptx=">, Flags<[NoXarchOption]>,
9941085
HelpText<"Include PTX for the following GPU architecture (e.g. sm_35) or 'all'. May be specified more than once.">;
9951086
def no_cuda_include_ptx_EQ : Joined<["--"], "no-cuda-include-ptx=">, Flags<[NoXarchOption]>,
9961087
HelpText<"Do not include PTX for the following GPU architecture (e.g. sm_35) or 'all'. May be specified more than once.">;
997-
def offload_arch_EQ : Joined<["--"], "offload-arch=">, Flags<[NoXarchOption]>,
998-
HelpText<"Specify an offloading device architecture for CUDA, HIP, or OpenMP. (e.g. sm_35). "
999-
"If 'native' is used the compiler will detect locally installed architectures. "
1000-
"For HIP offloading, the device architecture can be followed by target ID features "
1001-
"delimited by a colon (e.g. gfx908:xnack+:sramecc-). May be specified more than once.">;
10021088
def cuda_gpu_arch_EQ : Joined<["--"], "cuda-gpu-arch=">, Flags<[NoXarchOption]>,
10031089
Alias<offload_arch_EQ>;
10041090
def cuda_feature_EQ : Joined<["--"], "cuda-feature=">, HelpText<"Manually specify the CUDA feature to use">;
1005-
def hip_link : Flag<["--"], "hip-link">,
1006-
HelpText<"Link clang-offload-bundler bundles for HIP">;
1007-
def no_hip_rt: Flag<["-"], "no-hip-rt">,
1008-
HelpText<"Do not link against HIP runtime libraries">;
1009-
def no_offload_arch_EQ : Joined<["--"], "no-offload-arch=">, Flags<[NoXarchOption]>,
1010-
HelpText<"Remove CUDA/HIP offloading device architecture (e.g. sm_35, gfx906) from the list of devices to compile for. "
1011-
"'all' resets the list to its default value.">;
1012-
def emit_static_lib : Flag<["--"], "emit-static-lib">,
1013-
HelpText<"Enable linker job to emit a static library.">;
10141091
def no_cuda_gpu_arch_EQ : Joined<["--"], "no-cuda-gpu-arch=">, Flags<[NoXarchOption]>,
10151092
Alias<no_offload_arch_EQ>;
1093+
1094+
def cuda_device_only : Flag<["--"], "cuda-device-only">, Alias<offload_device_only>,
1095+
HelpText<"Compile CUDA code for device only">;
1096+
def cuda_host_only : Flag<["--"], "cuda-host-only">, Alias<offload_host_only>,
1097+
HelpText<"Compile CUDA code for host only. Has no effect on non-CUDA compilations.">;
1098+
def cuda_compile_host_device : Flag<["--"], "cuda-compile-host-device">, Alias<offload_host_device>,
1099+
HelpText<"Compile CUDA code for both host and device (default). Has no "
1100+
"effect on non-CUDA compilations.">;
1101+
10161102
def cuda_noopt_device_debug : Flag<["--"], "cuda-noopt-device-debug">,
10171103
HelpText<"Enable device-side debug info generation. Disables ptxas optimizations.">;
10181104
def no_cuda_version_check : Flag<["--"], "no-cuda-version-check">,
@@ -1025,23 +1111,21 @@ def cuda_path_ignore_env : Flag<["--"], "cuda-path-ignore-env">, Group<i_Group>,
10251111
HelpText<"Ignore environment variables to detect CUDA installation">;
10261112
def ptxas_path_EQ : Joined<["--"], "ptxas-path=">, Group<i_Group>,
10271113
HelpText<"Path to ptxas (used for compiling CUDA code)">;
1028-
def fgpu_flush_denormals_to_zero : Flag<["-"], "fgpu-flush-denormals-to-zero">,
1029-
HelpText<"Flush denormal floating point values to zero in CUDA/HIP device mode.">;
1030-
def fno_gpu_flush_denormals_to_zero : Flag<["-"], "fno-gpu-flush-denormals-to-zero">;
10311114
def fcuda_flush_denormals_to_zero : Flag<["-"], "fcuda-flush-denormals-to-zero">,
10321115
Alias<fgpu_flush_denormals_to_zero>;
10331116
def fno_cuda_flush_denormals_to_zero : Flag<["-"], "fno-cuda-flush-denormals-to-zero">,
10341117
Alias<fno_gpu_flush_denormals_to_zero>;
1035-
defm gpu_rdc : BoolFOption<"gpu-rdc",
1036-
LangOpts<"GPURelocatableDeviceCode">, DefaultFalse,
1037-
PosFlag<SetTrue, [CC1Option], "Generate relocatable device code, also known as separate compilation mode">,
1038-
NegFlag<SetFalse>>;
10391118
def : Flag<["-"], "fcuda-rdc">, Alias<fgpu_rdc>;
10401119
def : Flag<["-"], "fno-cuda-rdc">, Alias<fno_gpu_rdc>;
10411120
defm cuda_short_ptr : BoolFOption<"cuda-short-ptr",
10421121
TargetOpts<"NVPTXUseShortPointers">, DefaultFalse,
10431122
PosFlag<SetTrue, [CC1Option], "Use 32-bit pointers for accessing const/local/shared address spaces">,
10441123
NegFlag<SetFalse>>;
1124+
}
1125+
1126+
def emit_static_lib : Flag<["--"], "emit-static-lib">,
1127+
HelpText<"Enable linker job to emit a static library.">;
1128+
10451129
def mprintf_kind_EQ : Joined<["-"], "mprintf-kind=">, Group<m_Group>,
10461130
HelpText<"Specify the printf lowering scheme (AMDGPU only), allowed values are "
10471131
"\"hostcall\"(printing happens during kernel execution, this scheme "
@@ -1053,30 +1137,26 @@ def mprintf_kind_EQ : Joined<["-"], "mprintf-kind=">, Group<m_Group>,
10531137
NormalizedValuesScope<"TargetOptions::AMDGPUPrintfKind">,
10541138
NormalizedValues<["Hostcall", "Buffered"]>,
10551139
MarshallingInfoEnum<TargetOpts<"AMDGPUPrintfKindVal">, "Hostcall">;
1056-
def fgpu_default_stream_EQ : Joined<["-"], "fgpu-default-stream=">,
1057-
HelpText<"Specify default stream. The default value is 'legacy'. (HIP only)">,
1058-
Flags<[CC1Option]>,
1059-
Values<"legacy,per-thread">,
1060-
NormalizedValuesScope<"LangOptions::GPUDefaultStreamKind">,
1061-
NormalizedValues<["Legacy", "PerThread"]>,
1062-
MarshallingInfoEnum<LangOpts<"GPUDefaultStream">, "Legacy">;
1063-
def rocm_path_EQ : Joined<["--"], "rocm-path=">, Group<i_Group>,
1140+
1141+
// HIP options
1142+
let Group = hip_Group in {
1143+
def hip_link : Flag<["--"], "hip-link">, Group<opencl_Group>,
1144+
HelpText<"Link clang-offload-bundler bundles for HIP">;
1145+
def no_hip_rt: Flag<["-"], "no-hip-rt">, Group<hip_Group>,
1146+
HelpText<"Do not link against HIP runtime libraries">;
1147+
def rocm_path_EQ : Joined<["--"], "rocm-path=">, Group<hip_Group>,
10641148
HelpText<"ROCm installation path, used for finding and automatically linking required bitcode libraries.">;
1065-
def hip_path_EQ : Joined<["--"], "hip-path=">, Group<i_Group>,
1149+
def hip_path_EQ : Joined<["--"], "hip-path=">, Group<hip_Group>,
10661150
HelpText<"HIP runtime installation path, used for finding HIP version and adding HIP include path.">;
1067-
def amdgpu_arch_tool_EQ : Joined<["--"], "amdgpu-arch-tool=">, Group<i_Group>,
1068-
HelpText<"Tool used for detecting AMD GPU arch in the system.">;
1069-
def nvptx_arch_tool_EQ : Joined<["--"], "nvptx-arch-tool=">, Group<i_Group>,
1070-
HelpText<"Tool used for detecting NVIDIA GPU arch in the system.">;
1071-
def rocm_device_lib_path_EQ : Joined<["--"], "rocm-device-lib-path=">, Group<Link_Group>,
1151+
def rocm_device_lib_path_EQ : Joined<["--"], "rocm-device-lib-path=">, Group<hip_Group>,
10721152
HelpText<"ROCm device library path. Alternative to rocm-path.">;
10731153
def : Joined<["--"], "hip-device-lib-path=">, Alias<rocm_device_lib_path_EQ>;
1074-
def hip_device_lib_EQ : Joined<["--"], "hip-device-lib=">, Group<Link_Group>,
1154+
def hip_device_lib_EQ : Joined<["--"], "hip-device-lib=">, Group<hip_Group>,
10751155
HelpText<"HIP device library">;
1076-
def hip_version_EQ : Joined<["--"], "hip-version=">,
1156+
def hip_version_EQ : Joined<["--"], "hip-version=">, Group<hip_Group>,
10771157
HelpText<"HIP version in the format of major.minor.patch">;
10781158
def fhip_dump_offload_linker_script : Flag<["-"], "fhip-dump-offload-linker-script">,
1079-
Group<f_Group>, Flags<[NoArgumentUnused, HelpHidden]>;
1159+
Group<hip_Group>, Flags<[NoArgumentUnused, HelpHidden]>;
10801160
defm hip_new_launch_api : BoolFOption<"hip-new-launch-api",
10811161
LangOpts<"HIPUseNewLaunchAPI">, DefaultFalse,
10821162
PosFlag<SetTrue, [CC1Option], "Use">, NegFlag<SetFalse, [], "Don't use">,
@@ -1102,50 +1182,24 @@ defm gpu_allow_device_init : BoolFOption<"gpu-allow-device-init",
11021182
PosFlag<SetTrue, [CC1Option], "Allow">, NegFlag<SetFalse, [], "Don't allow">,
11031183
BothFlags<[], " device side init function in HIP (experimental)">>,
11041184
ShouldParseIf<hip.KeyPath>;
1105-
defm gpu_defer_diag : BoolFOption<"gpu-defer-diag",
1106-
LangOpts<"GPUDeferDiag">, DefaultFalse,
1107-
PosFlag<SetTrue, [CC1Option], "Defer">, NegFlag<SetFalse, [], "Don't defer">,
1108-
BothFlags<[], " host/device related diagnostic messages for CUDA/HIP">>;
1109-
defm gpu_exclude_wrong_side_overloads : BoolFOption<"gpu-exclude-wrong-side-overloads",
1110-
LangOpts<"GPUExcludeWrongSideOverloads">, DefaultFalse,
1111-
PosFlag<SetTrue, [CC1Option], "Always exclude wrong side overloads">,
1112-
NegFlag<SetFalse, [], "Exclude wrong side overloads only if there are same side overloads">,
1113-
BothFlags<[HelpHidden], " in overloading resolution for CUDA/HIP">>;
11141185
def gpu_max_threads_per_block_EQ : Joined<["--"], "gpu-max-threads-per-block=">,
11151186
Flags<[CC1Option]>,
11161187
HelpText<"Default max threads per block for kernel launch bounds for HIP">,
11171188
MarshallingInfoInt<LangOpts<"GPUMaxThreadsPerBlock">, "1024">,
11181189
ShouldParseIf<hip.KeyPath>;
1119-
def fgpu_inline_threshold_EQ : Joined<["-"], "fgpu-inline-threshold=">,
1120-
Flags<[HelpHidden]>,
1121-
HelpText<"Inline threshold for device compilation for CUDA/HIP">;
11221190
def gpu_instrument_lib_EQ : Joined<["--"], "gpu-instrument-lib=">,
11231191
HelpText<"Instrument device library for HIP, which is a LLVM bitcode containing "
11241192
"__cyg_profile_func_enter and __cyg_profile_func_exit">;
1125-
def fgpu_sanitize : Flag<["-"], "fgpu-sanitize">, Group<f_Group>,
1126-
HelpText<"Enable sanitizer for AMDGPU target">;
1127-
def fno_gpu_sanitize : Flag<["-"], "fno-gpu-sanitize">, Group<f_Group>;
11281193
def gpu_bundle_output : Flag<["--"], "gpu-bundle-output">,
1129-
Group<f_Group>, HelpText<"Bundle output files of HIP device compilation">;
1194+
HelpText<"Bundle output files of HIP device compilation">;
11301195
def no_gpu_bundle_output : Flag<["--"], "no-gpu-bundle-output">,
1131-
Group<f_Group>, HelpText<"Do not bundle output files of HIP device compilation">;
1132-
def fhip_emit_relocatable : Flag<["-"], "fhip-emit-relocatable">, Group<f_Group>,
1196+
Group<hip_Group>, HelpText<"Do not bundle output files of HIP device compilation">;
1197+
def fhip_emit_relocatable : Flag<["-"], "fhip-emit-relocatable">,
11331198
HelpText<"Compile HIP source to relocatable">;
1134-
def fno_hip_emit_relocatable : Flag<["-"], "fno-hip-emit-relocatable">, Group<f_Group>,
1199+
def fno_hip_emit_relocatable : Flag<["-"], "fno-hip-emit-relocatable">,
11351200
HelpText<"Do not override toolchain to compile HIP source to relocatable">;
1136-
def cuid_EQ : Joined<["-"], "cuid=">, Flags<[CC1Option]>,
1137-
HelpText<"An ID for compilation unit, which should be the same for the same "
1138-
"compilation unit but different for different compilation units. "
1139-
"It is used to externalize device-side static variables for single "
1140-
"source offloading languages CUDA and HIP so that they can be "
1141-
"accessed by the host code of the same compilation unit.">,
1142-
MarshallingInfoString<LangOpts<"CUID">>;
1143-
def fuse_cuid_EQ : Joined<["-"], "fuse-cuid=">,
1144-
HelpText<"Method to generate ID's for compilation units for single source "
1145-
"offloading languages CUDA and HIP: 'hash' (ID's generated by hashing "
1146-
"file path and command line options) | 'random' (ID's generated as "
1147-
"random numbers) | 'none' (disabled). Default is 'hash'. This option "
1148-
"will be overridden by option '-cuid=[ID]' if it is specified." >;
1201+
}
1202+
11491203
def libomptarget_amdgpu_bc_path_EQ : Joined<["--"], "libomptarget-amdgpu-bc-path=">, Group<i_Group>,
11501204
HelpText<"Path to libomptarget-amdgcn bitcode library">;
11511205
def libomptarget_amdgcn_bc_path_EQ : Joined<["--"], "libomptarget-amdgcn-bc-path=">, Group<i_Group>,
@@ -2866,23 +2920,6 @@ defm openmp_optimistic_collapse : BoolFOption<"openmp-optimistic-collapse",
28662920
PosFlag<SetTrue, [CC1Option]>, NegFlag<SetFalse>, BothFlags<[NoArgumentUnused, HelpHidden]>>;
28672921
def static_openmp: Flag<["-"], "static-openmp">,
28682922
HelpText<"Use the static host OpenMP runtime while linking.">;
2869-
def offload_new_driver : Flag<["--"], "offload-new-driver">, Flags<[CC1Option]>, Group<f_Group>,
2870-
MarshallingInfoFlag<LangOpts<"OffloadingNewDriver">>, HelpText<"Use the new driver for offloading compilation.">;
2871-
def no_offload_new_driver : Flag<["--"], "no-offload-new-driver">, Flags<[CC1Option]>, Group<f_Group>,
2872-
HelpText<"Don't Use the new driver for offloading compilation.">;
2873-
def offload_device_only : Flag<["--"], "offload-device-only">, Flags<[FlangOption]>,
2874-
HelpText<"Only compile for the offloading device.">;
2875-
def offload_host_only : Flag<["--"], "offload-host-only">, Flags<[FlangOption]>,
2876-
HelpText<"Only compile for the offloading host.">;
2877-
def offload_host_device : Flag<["--"], "offload-host-device">, Flags<[FlangOption]>,
2878-
HelpText<"Compile for both the offloading host and device (default).">;
2879-
def cuda_device_only : Flag<["--"], "cuda-device-only">, Alias<offload_device_only>,
2880-
HelpText<"Compile CUDA code for device only">;
2881-
def cuda_host_only : Flag<["--"], "cuda-host-only">, Alias<offload_host_only>,
2882-
HelpText<"Compile CUDA code for host only. Has no effect on non-CUDA compilations.">;
2883-
def cuda_compile_host_device : Flag<["--"], "cuda-compile-host-device">, Alias<offload_host_device>,
2884-
HelpText<"Compile CUDA code for both host and device (default). Has no "
2885-
"effect on non-CUDA compilations.">;
28862923
def fopenmp_new_driver : Flag<["-"], "fopenmp-new-driver">, Flags<[HelpHidden]>,
28872924
HelpText<"Use the new driver for OpenMP offloading.">;
28882925
def fno_openmp_new_driver : Flag<["-"], "fno-openmp-new-driver">, Flags<[HelpHidden]>,

0 commit comments

Comments
 (0)