File tree Expand file tree Collapse file tree 3 files changed +80
-0
lines changed Expand file tree Collapse file tree 3 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1+ <%
2+ import re
3+ from templates import helper as th
4+ %><%
5+ OneApi=tags['$OneApi']
6+ x=tags['$x']
7+ X=x.upper()
8+ s=tags['$s']
9+ S=s.upper()
10+ %>
11+ :orphan:
12+
13+ .. _ZES_extension_device_ecc_default_properties :
14+
15+ =====================================
16+ Device-ECC default properties Extension
17+ =====================================
18+
19+ API
20+ ----
21+
22+ * Structures
23+
24+ * ${s}_device_ecc_default_properties_ext_t
25+
26+ Device-ECC properties
27+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
28+
29+ By default, {s}DeviceGetEccState returns the current state of the ECC counters.
30+
31+ Additionally to get default ECC state, pass ${s}_device_ecc_default_properties_ext_t to {s}DeviceGetEccState
32+ as pNext member of ${s}_device_ecc_properties_t.
33+
34+ .. parsed-literal ::
35+
36+ ${s}_device_ecc_properties_t getState = {${s}_STRUCTURE_TYPE_DEVICE_ECC_PROPERTIES};
37+ ${s}_device_ecc_default_properties_ext_t ext = {${s}_STRUCTURE_TYPE_DEVICE_ECC_DEFAULT_PROPERTIES_EXT};
38+ getState.pNext = &ext;
39+ ${x}_result_t = ${s}DeviceGetEccState(device, &getState);
Original file line number Diff line number Diff line change @@ -261,6 +261,10 @@ etors:
261261 value : " 0x00020011"
262262 desc : $s_vf_exp2_capabilities_t
263263 version : " 1.12"
264+ - name : DEVICE_ECC_DEFAULT_PROPERTIES_EXT
265+ value : " 0x00020012"
266+ desc : $s_device_ecc_default_properties_ext_t
267+ version : " 1.13"
264268--- # -------------------------------------------------------------------------
265269type : struct
266270desc : " Base for all properties types"
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (C) 2025 Intel Corporation
3+ #
4+ # SPDX-License-Identifier: MIT
5+ #
6+ # See YaML.md for syntax definition
7+ #
8+ --- # --------------------------------------------------------------------------
9+ type : header
10+ desc : " Intel $OneApi Level-Zero Sysman Extension APIs Device-ECC default properties"
11+ version : " 1.13"
12+ --- # --------------------------------------------------------------------------
13+ type : macro
14+ desc : " Device ECC default properties Extension Name"
15+ version : " 1.13"
16+ name : $S_DEVICE_ECC_DEFAULT_PROPERTIES_EXT_NAME
17+ value : ' "$S_extension_device_ecc_default_properties"'
18+ --- # --------------------------------------------------------------------------
19+ type : enum
20+ desc : " Device ECC default properties Extension Version(s)"
21+ version : " 1.13"
22+ name : $s_device_ecc_default_properties_ext_version_t
23+ etors :
24+ - name : " 1_0"
25+ value : " $X_MAKE_VERSION( 1, 0 )"
26+ desc : " version 1.0"
27+ --- # --------------------------------------------------------------------------
28+ type : struct
29+ desc : " This structure may be passed to $sDeviceGetEccState as pNext member of $s_device_ecc_properties_t."
30+ class : $sDevice
31+ version : " 1.13"
32+ name : $s_device_ecc_default_properties_ext_t
33+ base : $s_base_properties_t
34+ members :
35+ - type : $s_device_ecc_state_t
36+ name : defaultState
37+ desc : " [out] Default ECC state"
You can’t perform that action at this time.
0 commit comments