Skip to content

Commit fe0ec06

Browse files
Artem GindinsonDoyleLi
authored andcommitted
[SYCL][NFC] Update comment on default code split behavior (intel#4509)
Since `auto` value introduction for `-fsycl-device-code-split` in commit 184d258 (intel#2827), it stands as the default code split mechanism. Signed-off-by: Artem Gindinson <[email protected]>
1 parent 38cc74b commit fe0ec06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4778,7 +4778,7 @@ class OffloadingActionBuilder final {
47784778
auto *DeviceCodeSplitArg =
47794779
Args.getLastArg(options::OPT_fsycl_device_code_split_EQ);
47804780
// -fsycl-device-code-split is an alias to
4781-
// -fsycl-device-code-split=per_source
4781+
// -fsycl-device-code-split=auto
47824782
DeviceCodeSplit = DeviceCodeSplitArg &&
47834783
DeviceCodeSplitArg->getValue() != StringRef("off");
47844784
// Gather information about the SYCL Ahead of Time targets. The targets

0 commit comments

Comments
 (0)