@@ -150,12 +150,22 @@ def f_clang_Group : OptionGroup<"<f (clang-only) group>">,
150
150
Group<CompileOnly_Group>, DocFlatten;
151
151
def pedantic_Group : OptionGroup<"<pedantic group>">, Group<f_Group>,
152
152
DocFlatten;
153
+
154
+ def offload_Group : OptionGroup<"<offload group>">, Group<f_Group>,
155
+ DocName<"Common Offloading options">;
156
+
153
157
def opencl_Group : OptionGroup<"<opencl group>">, Group<f_Group>,
154
158
DocName<"OpenCL options">;
155
159
156
160
def sycl_Group : OptionGroup<"<SYCL group>">, Group<f_Group>,
157
161
DocName<"SYCL options">;
158
162
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
+
159
169
def m_Group : OptionGroup<"<m group>">, Group<CompileOnly_Group>,
160
170
DocName<"Target-dependent compilation options">;
161
171
@@ -987,32 +997,108 @@ defm convergent_functions : BoolFOption<"convergent-functions",
987
997
NegFlag<SetFalse, [], "Assume all functions may be convergent.">,
988
998
PosFlag<SetTrue, [CC1Option]>>;
989
999
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
+
990
1023
def gpu_use_aux_triple_only : Flag<["--"], "gpu-use-aux-triple-only">,
991
1024
InternalDriverOpt, HelpText<"Prepare '-aux-triple' only without populating "
992
1025
"'-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 {
993
1084
def cuda_include_ptx_EQ : Joined<["--"], "cuda-include-ptx=">, Flags<[NoXarchOption]>,
994
1085
HelpText<"Include PTX for the following GPU architecture (e.g. sm_35) or 'all'. May be specified more than once.">;
995
1086
def no_cuda_include_ptx_EQ : Joined<["--"], "no-cuda-include-ptx=">, Flags<[NoXarchOption]>,
996
1087
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.">;
1002
1088
def cuda_gpu_arch_EQ : Joined<["--"], "cuda-gpu-arch=">, Flags<[NoXarchOption]>,
1003
1089
Alias<offload_arch_EQ>;
1004
1090
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.">;
1014
1091
def no_cuda_gpu_arch_EQ : Joined<["--"], "no-cuda-gpu-arch=">, Flags<[NoXarchOption]>,
1015
1092
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
+
1016
1102
def cuda_noopt_device_debug : Flag<["--"], "cuda-noopt-device-debug">,
1017
1103
HelpText<"Enable device-side debug info generation. Disables ptxas optimizations.">;
1018
1104
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>,
1025
1111
HelpText<"Ignore environment variables to detect CUDA installation">;
1026
1112
def ptxas_path_EQ : Joined<["--"], "ptxas-path=">, Group<i_Group>,
1027
1113
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">;
1031
1114
def fcuda_flush_denormals_to_zero : Flag<["-"], "fcuda-flush-denormals-to-zero">,
1032
1115
Alias<fgpu_flush_denormals_to_zero>;
1033
1116
def fno_cuda_flush_denormals_to_zero : Flag<["-"], "fno-cuda-flush-denormals-to-zero">,
1034
1117
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>>;
1039
1118
def : Flag<["-"], "fcuda-rdc">, Alias<fgpu_rdc>;
1040
1119
def : Flag<["-"], "fno-cuda-rdc">, Alias<fno_gpu_rdc>;
1041
1120
defm cuda_short_ptr : BoolFOption<"cuda-short-ptr",
1042
1121
TargetOpts<"NVPTXUseShortPointers">, DefaultFalse,
1043
1122
PosFlag<SetTrue, [CC1Option], "Use 32-bit pointers for accessing const/local/shared address spaces">,
1044
1123
NegFlag<SetFalse>>;
1124
+ }
1125
+
1126
+ def emit_static_lib : Flag<["--"], "emit-static-lib">,
1127
+ HelpText<"Enable linker job to emit a static library.">;
1128
+
1045
1129
def mprintf_kind_EQ : Joined<["-"], "mprintf-kind=">, Group<m_Group>,
1046
1130
HelpText<"Specify the printf lowering scheme (AMDGPU only), allowed values are "
1047
1131
"\"hostcall\"(printing happens during kernel execution, this scheme "
@@ -1053,30 +1137,26 @@ def mprintf_kind_EQ : Joined<["-"], "mprintf-kind=">, Group<m_Group>,
1053
1137
NormalizedValuesScope<"TargetOptions::AMDGPUPrintfKind">,
1054
1138
NormalizedValues<["Hostcall", "Buffered"]>,
1055
1139
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 >,
1064
1148
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 >,
1066
1150
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>,
1072
1152
HelpText<"ROCm device library path. Alternative to rocm-path.">;
1073
1153
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 >,
1075
1155
HelpText<"HIP device library">;
1076
- def hip_version_EQ : Joined<["--"], "hip-version=">,
1156
+ def hip_version_EQ : Joined<["--"], "hip-version=">, Group<hip_Group>,
1077
1157
HelpText<"HIP version in the format of major.minor.patch">;
1078
1158
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]>;
1080
1160
defm hip_new_launch_api : BoolFOption<"hip-new-launch-api",
1081
1161
LangOpts<"HIPUseNewLaunchAPI">, DefaultFalse,
1082
1162
PosFlag<SetTrue, [CC1Option], "Use">, NegFlag<SetFalse, [], "Don't use">,
@@ -1102,50 +1182,24 @@ defm gpu_allow_device_init : BoolFOption<"gpu-allow-device-init",
1102
1182
PosFlag<SetTrue, [CC1Option], "Allow">, NegFlag<SetFalse, [], "Don't allow">,
1103
1183
BothFlags<[], " device side init function in HIP (experimental)">>,
1104
1184
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">>;
1114
1185
def gpu_max_threads_per_block_EQ : Joined<["--"], "gpu-max-threads-per-block=">,
1115
1186
Flags<[CC1Option]>,
1116
1187
HelpText<"Default max threads per block for kernel launch bounds for HIP">,
1117
1188
MarshallingInfoInt<LangOpts<"GPUMaxThreadsPerBlock">, "1024">,
1118
1189
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">;
1122
1190
def gpu_instrument_lib_EQ : Joined<["--"], "gpu-instrument-lib=">,
1123
1191
HelpText<"Instrument device library for HIP, which is a LLVM bitcode containing "
1124
1192
"__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>;
1128
1193
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">;
1130
1195
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">,
1133
1198
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">,
1135
1200
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
+
1149
1203
def libomptarget_amdgpu_bc_path_EQ : Joined<["--"], "libomptarget-amdgpu-bc-path=">, Group<i_Group>,
1150
1204
HelpText<"Path to libomptarget-amdgcn bitcode library">;
1151
1205
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",
2866
2920
PosFlag<SetTrue, [CC1Option]>, NegFlag<SetFalse>, BothFlags<[NoArgumentUnused, HelpHidden]>>;
2867
2921
def static_openmp: Flag<["-"], "static-openmp">,
2868
2922
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.">;
2886
2923
def fopenmp_new_driver : Flag<["-"], "fopenmp-new-driver">, Flags<[HelpHidden]>,
2887
2924
HelpText<"Use the new driver for OpenMP offloading.">;
2888
2925
def fno_openmp_new_driver : Flag<["-"], "fno-openmp-new-driver">, Flags<[HelpHidden]>,
0 commit comments