Skip to content

Commit cd36574

Browse files
committed
Tighten description of "save_log"
1 parent d40c117 commit cd36574

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_kernel_compiler.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,11 @@ In general, the log information is intended for human consumption, and the
477477
format may not be stable across implementations of this extension.
478478

479479
_Effects (1):_ Constructs a `save_log` property with a pointer to a `std::string`.
480-
When the `build` function completes successfully, this string will contain the
481-
log.
480+
If the `to` pointer is not null, when the `build` function completes
481+
successfully, the string pointed at by `to` will contain the log.
482+
483+
_Remarks (1):_ When `to` is not null, the string object it points to must
484+
remain valid for all calls to `build` taking this `save_log` property.
482485

483486
a|
484487
[frame=all,grid=none]

0 commit comments

Comments
 (0)