Skip to content

Commit 78749f8

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

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
@@ -4777,7 +4777,7 @@ class OffloadingActionBuilder final {
47774777
auto *DeviceCodeSplitArg =
47784778
Args.getLastArg(options::OPT_fsycl_device_code_split_EQ);
47794779
// -fsycl-device-code-split is an alias to
4780-
// -fsycl-device-code-split=per_source
4780+
// -fsycl-device-code-split=auto
47814781
DeviceCodeSplit = DeviceCodeSplitArg &&
47824782
DeviceCodeSplitArg->getValue() != StringRef("off");
47834783
// Gather information about the SYCL Ahead of Time targets. The targets

0 commit comments

Comments
 (0)