================
@@ -57,6 +57,9 @@ def opencl_aot_options_EQ : Joined<["--", "-"],
"opencl-aot-options=">,
def module_split_mode_EQ : Joined<["--", "-"], "module-split-mode=">,
Flags<[LinkerOnlyOption]>, MetaVarName<"<mode>">,
- HelpText<"SYCL device code module split mode. Valid values: 'none' (default)
"
- "emits a single device image; 'kernel' emits one device image per "
- "kernel function.">;
+ HelpText<"SYCL device code module split mode. Valid values: "
+ "'source' (default) emits one device image per translation unit
that contains "
+ "at least one kernel; translation units containing only
sycl_external "
+ "functions do not produce a device image, this behavior may change
in the future; "
----------------
bader wrote:
> translation units containing only sycl_external functions do not produce a
> device image, this behavior may change in the future
What does it mean? I suggest we drop this part.
```suggestion
"at least one entry point"
```
https://github.com/llvm/llvm-project/pull/196435
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits