@@ -228,6 +228,8 @@ _Throws:_
228
228
229
229
* An `exception` with the `errc::invalid` error code if the source language
230
230
`lang` is not supported by any device contained by the context `ctxt`.
231
+ * An `exception` with the `errc::invalid` error code if the source language
232
+ `lang` does not support one of the properties in `PropertyListT`.
231
233
* Overload (1) throws an `exception` with the `errc::invalid` error code if the
232
234
source language `lang` is binary format.
233
235
* Overload (2) throws an `exception` with the `errc::invalid` error code if the
@@ -296,8 +298,10 @@ _Throws:_
296
298
`devs` does not support compilation of kernels in the source language of
297
299
`sourceBundle`.
298
300
299
- * An `exception` with the `errc::invalid` error code if `props` contains an
300
- `options` property that specifies an invalid option.
301
+ * An `exception` with the `errc::invalid` error code if the source language
302
+ `lang` does not support one of the properties in `PropertyListT` or if
303
+ `props` contains a `build_options` property that contains an option that is
304
+ not supported by `lang`.
301
305
302
306
* An `exception` with the `errc::build` error code if the compilation or
303
307
linking operations fail.
@@ -419,10 +423,8 @@ struct is_property_key<build_options_key> : std::true_type {};
419
423
420
424
This property provides build options that may affect the compilation or linking
421
425
of the kernel, where each build option is a string.
422
- There are no standard build options that are common across all source
423
- languages.
424
- Instead, each source language specification defines its own set of build
425
- options.
426
+ All source languages support the `build_options` property, but each source
427
+ language defines the specific options that it supports.
426
428
The `source_language::sycl` language does not define any standard build
427
429
options, but an implementation may support implementation-defined options.
428
430
@@ -466,8 +468,8 @@ provides a description of the error.
466
468
Instead, the `save_log` property provides information about a build operation
467
469
that succeeds.
468
470
This might include warning messages or other diagnostics.
469
- Each source language specification can define specific information that is
470
- provided in the log.
471
+ All source languages support the `save_log` property, but each source language
472
+ defines the specific information that is provided in the log.
471
473
The `source_language::sycl` language does not define any specific information
472
474
that is provided in the log, so implementations are free to provide any
473
475
information they choose here.
0 commit comments