You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc: "Describes the module for which runtime requirements are being gathered. This structure is accepted as pObjDesc to $xDeviceGetRuntimeRequirements. This structure requires ZE_extension_driver_ddi_handles to be supported by the driver."
1056
+
class: $xDevice
1057
+
base: $x_base_desc_t
1058
+
name: $x_runtime_requirements_module_desc_t
1059
+
version: "1.16"
1060
+
requires: ["ZE_extension_driver_ddi_handles"]
1061
+
members:
1062
+
- type: "$x_module_handle_t"
1063
+
name: requirementsSrc
1064
+
desc: "[in] Module for which the requirements are being gathered"
desc: "Describes the graph for which runtime requirements are being gathered. This structure is accepted as pObjDesc to $xDeviceGetRuntimeRequirements. This structure requires ZE_extension_driver_ddi_handles to be supported by the driver."
1068
+
class: $xDevice
1069
+
base: $x_base_desc_t
1070
+
name: $x_runtime_requirements_graph_desc_t
1071
+
version: "1.16"
1072
+
requires: ["ZE_extension_driver_ddi_handles"]
1073
+
members:
1074
+
- type: "$x_graph_handle_t"
1075
+
name: requirementsSrc
1076
+
desc: "[in] Graph for which the requirements are being gathered"
desc: "Gathers null-terminated plain text representation of runtime requirements for provided object."
1080
+
version: "1.16"
1081
+
class: $xDevice
1082
+
name: GetRuntimeRequirements
1083
+
details:
1084
+
- "To gather requirements for a given object (e.g. an L0 module or graph), pObjDesc must point to a structure (e.g. $x_runtime_requirements_module_desc_t or $x_runtime_requirements_graph_desc_t) describing object for which the requirements are being retrieved."
1085
+
- "Requirements are copied to user-provided memory pointed to by pRequirements and pSize is set to represent the actual written length of the requirements string in bytes."
1086
+
- "The caller can pass nullptr for pRequirements when querying only for size."
1087
+
- "The application may call this function from simultaneous threads."
1088
+
params:
1089
+
- type: $x_device_handle_t
1090
+
name: hDevice
1091
+
desc: "[in] handle of the device"
1092
+
- type: const void*
1093
+
name: pObjDesc
1094
+
desc: "[in] describes the object for which the requirements are to be gathered"
1095
+
- type: size_t*
1096
+
name: pSize
1097
+
desc: "[in,out] size of requirements string in bytes."
1098
+
- type: char*
1099
+
name: pRequirements
1100
+
desc: "[in,out][optional] holds results of the query."
1101
+
returns:
1102
+
- $X_RESULT_SUCCESS:
1103
+
- "Successfully gathered requirements for provided source (e.g. module)."
1104
+
- $X_RESULT_ERROR_INVALID_ARGUMENT:
1105
+
- "Provided hDevice handle is invalid"
1106
+
- "pObjDesc doesn't point to a structure that describes a supported object for which the requirements can be gathered."
- "To validate existing requirements (e.g. cached from previous runs), requirements string should be passed as pRequirements."
1164
+
params:
1165
+
- type: $x_device_handle_t
1166
+
name: hDevice
1167
+
desc: "[in] handle of the device"
1168
+
- type: const char*
1169
+
name: pRequirements
1170
+
desc: "[in] requirements to be validated. Requirements should be null-terminated plain text representation of runtime requirements previously retrieved from the device."
0 commit comments