Skip to content

Commit 81607e3

Browse files
Morris HafnerAerialMantis
authored andcommitted
CP026: Generalized Error Handling For SYCL
1 parent 0a6be2a commit 81607e3

File tree

5 files changed

+621
-0
lines changed

5 files changed

+621
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,4 @@ from this registry in the future.
6363
| CP020 | [Interop Task](interop_task/interop_task.md) | SYCL 1.2.1 | 16 January 2019 | 16 January 2019 | _Available since CE 1.0.5_ |
6464
| CP021 | [Default-Constructed Buffers](default-constructed-buffers/default-constructed-buffers.md) | SYCL 1.2.1 | 27 August 2019 | 5 September 2019 | _Draft_ |
6565
| CP022 | [Host Task with Interop capabilities](host_task/host_task.md) | SYCL 1.2.1 | 16 January 2019 | 20 January 2020 | _Final Draft_ |
66+
| CP026 | [Generalized Error Handling For SYCL](error-handling/sycl-error-handling.md) | SYCL Next | 10 March 2020 | 10 March 2020 | _Under Review_ |

error-handling/build.ninja

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
rule markdown
2+
command = pandoc $in -o $out
3+
4+
rule dot
5+
command = dot -Tsvg $in -o $out
6+
7+
build exception_hierarchy.svg: dot exception_hierarchy.dot
8+
build sycl-error-handling.html: markdown sycl-error-handling.md || exception_hierarchy.svg
9+
10+
default sycl-error-handling.html
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
digraph G {
2+
rankdir = RL;
3+
node [shape=rect, fontsize = 10, fixedsize=true, width=1.8];
4+
5+
runtime_error -> exception;
6+
kernel_error -> runtime_error;
7+
accessor_error -> runtime_error;
8+
nd_range_error -> runtime_error;
9+
event_error -> runtime_error;
10+
invalid_parameter_error -> runtime_error;
11+
device_error -> exception;
12+
compile_program_error -> device_error;
13+
link_program_error -> device_error;
14+
invalid_object_error -> device_error;
15+
memory_allocation_error -> device_error;
16+
platform_error -> device_error;
17+
profiling_error -> device_error;
18+
feature_not_supported -> device_error;
19+
}
Lines changed: 187 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)