feature: Add support for ecc default state

Related-To: NEO-15058

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
This commit is contained in:
shubham kumar
2025-06-18 11:16:55 +00:00
committed by Compute-Runtime-Automation
parent 10db31afa2
commit d988763c0f
22 changed files with 121 additions and 35 deletions

View File

@@ -523,10 +523,14 @@ void testSysmanEcc(ze_device_handle_t &device) {
}
zes_device_ecc_properties_t getProps = {};
zes_device_ecc_default_properties_ext_t extProps = {};
extProps.stype = ZES_STRUCTURE_TYPE_DEVICE_ECC_DEFAULT_PROPERTIES_EXT;
getProps.pNext = &extProps;
VALIDATECALL(zesDeviceGetEccState(device, &getProps));
if (verbose) {
std::cout << "getStateProps.pendingState " << getProps.pendingState << std::endl;
std::cout << "getStateProps.currentState " << getProps.currentState << std::endl;
std::cout << "getStateProps.defaultState " << extProps.defaultState << std::endl;
std::cout << "getStateProps.pendingAction " << getProps.pendingAction << std::endl;
}