@@ -62,11 +62,11 @@ Error Handling
62
62
63
63
The following design philosophies are adopted to reduce Host-side overhead:
64
64
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
66
66
67
67
+ This should be handled by validation layer(s)
68
68
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:
70
70
71
71
+ Invalid API programming
72
72
+ Invalid function arguments
@@ -75,10 +75,10 @@ The following design philosophies are adopted to reduce Host-side overhead:
75
75
+ Non-visible memory access by the Host or device
76
76
+ Non-resident memory access by the device
77
77
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
79
79
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
82
82
+ For debug purposes, API validation can be enabled via the loader's validation layer(s)
83
83
84
84
- All API functions return ${x}_result_t
0 commit comments