Skip to content

Commit d40c117

Browse files
committed
Tweak wording about syntax errors
1 parent d3e5f49 commit d40c117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_kernel_compiler.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ _Throws:_
236236
source language `lang` is text format.
237237

238238
[_Note:_ Calling this function does not attempt to compile the source code.
239-
As a result, syntactic errors in the source code string are not diagnosed by
240-
this function.
239+
As a result, syntax errors in `source` or `bytes` are not diagnosed by this
240+
function.
241241

242242
This function succeeds even if some devices in `ctxt` do not support the source
243243
language `lang`.

0 commit comments

Comments
 (0)