mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
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:
committed by
Compute-Runtime-Automation
parent
10db31afa2
commit
d988763c0f
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user