@@ -29,12 +29,6 @@ def : Macro {
2929 let alt_value = "";
3030}
3131
32- def : Typedef {
33- let name = "offload_bool_t";
34- let value = "uint8_t";
35- let desc = "compiler-independent type";
36- }
37-
3832def : Handle {
3933 let name = "offload_platform_handle_t";
4034 let desc = "Handle of a platform instance";
@@ -62,14 +56,14 @@ def : Enum {
6256 Etor<"ERROR_DEVICE_LOST", "Device hung, reset, was removed, or driver update occurred">,
6357 Etor<"ERROR_UNINITIALIZED", "plugin is not initialized or specific entry-point is not implemented">,
6458 Etor<"ERROR_OUT_OF_RESOURCES", "Out of resources">,
65- Etor<"ERROR_UNSUPPORTED_VERSION", "[Validation] generic error code for unsupported versions">,
66- Etor<"ERROR_UNSUPPORTED_FEATURE", "[Validation] generic error code for unsupported features">,
67- Etor<"ERROR_INVALID_ARGUMENT", "[Validation] generic error code for invalid arguments">,
68- Etor<"ERROR_INVALID_NULL_HANDLE", "[Validation] handle argument is not valid">,
69- Etor<"ERROR_INVALID_NULL_POINTER", "[Validation] pointer argument may not be nullptr">,
70- Etor<"ERROR_INVALID_SIZE", "[Validation] invalid size or dimensions (e.g., must not be zero, or is out of bounds)">,
71- Etor<"ERROR_INVALID_ENUMERATION", "[Validation] enumerator argument is not valid">,
72- Etor<"ERROR_UNSUPPORTED_ENUMERATION", "[Validation] enumerator argument is not supported by the device">,
59+ Etor<"ERROR_UNSUPPORTED_VERSION", "generic error code for unsupported versions">,
60+ Etor<"ERROR_UNSUPPORTED_FEATURE", "generic error code for unsupported features">,
61+ Etor<"ERROR_INVALID_ARGUMENT", "generic error code for invalid arguments">,
62+ Etor<"ERROR_INVALID_NULL_HANDLE", "handle argument is not valid">,
63+ Etor<"ERROR_INVALID_NULL_POINTER", "pointer argument may not be nullptr">,
64+ Etor<"ERROR_INVALID_SIZE", "invalid size or dimensions (e.g., must not be zero, or is out of bounds)">,
65+ Etor<"ERROR_INVALID_ENUMERATION", "enumerator argument is not valid">,
66+ Etor<"ERROR_UNSUPPORTED_ENUMERATION", "enumerator argument is not supported by the device">,
7367 Etor<"ERROR_UNKNOWN", "Unknown or internal error">
7468 ];
7569}
0 commit comments