From 0f8dd5e6c979edfb8f3ddb204af026787c9394e2 Mon Sep 17 00:00:00 2001 From: "Bari, Pratik" Date: Mon, 4 Mar 2024 10:09:22 +0000 Subject: [PATCH] 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 --- level_zero/tools/test/black_box_tests/zello_sysman.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/level_zero/tools/test/black_box_tests/zello_sysman.cpp b/level_zero/tools/test/black_box_tests/zello_sysman.cpp index 3045a28952..bcb9168911 100644 --- a/level_zero/tools/test/black_box_tests/zello_sysman.cpp +++ b/level_zero/tools/test/black_box_tests/zello_sysman.cpp @@ -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(deviceProperties.uuid.id[i]) << " "; + std::cout << static_cast(deviceProperties.core.uuid.id[i]) << " "; } std::cout << std::endl; }