fix(sysman): Changes in the Engine BB Test

- The core API used in the Engine Black Box tests is replaced.

Related-To: NEO-10536

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
This commit is contained in:
Bari, Pratik
2024-03-04 10:09:22 +00:00
committed by Compute-Runtime-Automation
parent fd7120e8a0
commit 0f8dd5e6c9

View File

@@ -862,12 +862,12 @@ std::string getEngineType(zes_engine_group_t engineGroup) {
void testSysmanEngine(ze_device_handle_t &device) {
std::cout << std::endl
<< " ---- Engine tests ---- " << std::endl;
ze_device_properties_t deviceProperties = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES};
VALIDATECALL(zeDeviceGetProperties(device, &deviceProperties));
zes_device_properties_t deviceProperties = {ZES_STRUCTURE_TYPE_DEVICE_PROPERTIES};
VALIDATECALL(zesDeviceGetProperties(device, &deviceProperties));
if (verbose) {
std::cout << "Device UUID: ";
std::cout << "Device UUID: " << std::endl;
for (uint32_t i = 0; i < ZE_MAX_UUID_SIZE; i++) {
std::cout << static_cast<uint32_t>(deviceProperties.uuid.id[i]) << " ";
std::cout << static_cast<uint32_t>(deviceProperties.core.uuid.id[i]) << " ";
}
std::cout << std::endl;
}