Skip to content

Commit b3f8f35

Browse files
authored
[UR] Replace "driver" in error handling docs with "adapter" (#18724)
1 parent 2c20169 commit b3f8f35

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

unified-runtime/scripts/core/INTRO.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ Error Handling
6262

6363
The following design philosophies are adopted to reduce Host-side overhead:
6464

65-
- By default, the driver implementation may not perform parameter validation of any kind
65+
- By default, the adapter implementation may not perform parameter validation of any kind
6666

6767
+ This should be handled by validation layer(s)
6868

69-
- By default, the driver or device may not provide any protection against the following:
69+
- By default, the adapter or device may not provide any protection against the following:
7070

7171
+ Invalid API programming
7272
+ Invalid function arguments
@@ -75,10 +75,10 @@ The following design philosophies are adopted to reduce Host-side overhead:
7575
+ Non-visible memory access by the Host or device
7676
+ Non-resident memory access by the device
7777

78-
- The driver implementation is **not** required to perform API validation of any kind
78+
- The adapter implementation is **not** required to perform API validation of any kind
7979

80-
+ The driver should ensure well-behaved applications are not burdened with the overhead needed for non-behaving applications
81-
+ Unless otherwise specified, the driver behavior is undefined when APIs are improperly used
80+
+ The adapter should ensure well-behaved applications are not burdened with the overhead needed for non-behaving applications
81+
+ Unless otherwise specified, the adapter behavior is undefined when APIs are improperly used
8282
+ For debug purposes, API validation can be enabled via the loader's validation layer(s)
8383

8484
- All API functions return ${x}_result_t

0 commit comments

Comments
 (0)