Skip to content

Commit 6a5cee7

Browse files
author
Larsen, Steffen
committed
Missed rewording
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 42c43bf commit 6a5cee7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

adoc/chapters/device_compiler.adoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,9 @@ the feature.
428428
If the application submits a <<command-group>> using a secondary queue, then any
429429
kernel submitted from the <<command-group>> should use only features that are
430430
supported by both the primary queue's device and the secondary queue's device.
431-
If an application fails to do this and the implementation elects to use the
432-
secondary queue in the case of the <<command-group>> failing to enqueue on the
433-
primary queue, the implementation must throw a synchronous exception with the
434-
[code]#errc::kernel_not_supported# error code from the
435-
<<kernel-invocation-command>> (e.g. [code]#parallel_for()#).
431+
If an application fails to do this, the implementation throws an
432+
[code]#exception# with the [code]#errc::kernel_not_supported# error code from
433+
the <<kernel-invocation-command>> (e.g. [code]#parallel_for()#).
436434

437435
It is legal for a SYCL application to define several kernels in the same
438436
translation unit even if they use different optional features, as shown in the

0 commit comments

Comments
 (0)