File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/elements/oneDPL/source/parallel_api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ immutable ``device_policy`` object. It is associated with a SYCL queue construct
174174the SYCL device selector that corresponds to the used variable template.
175175[*Example *: ``dpgpu<> `` is associated with a queue created by ``sycl::gpu_selector_v ``. -- *end example *]
176176
177- Creation or use of a `` dpgpu `` or a `` dpcpu `` policy object can throw `` sycl::exception ``
178- if no appropriate device is found.
177+ Construction of predefined device policies must not throw exceptions.
178+ Use of a `` dpgpu `` or a `` dpcpu `` policy object can throw `` sycl::exception `` if no appropriate device is found.
179179
180180make_device_policy Function
181181^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments