Skip to content

Commit

Permalink
test: Add different combination of Sysman init CTS
Browse files Browse the repository at this point in the history
Related:To: VLCLJ-2335

Signed-off-by: Vishnu Khanth <[email protected]>
  • Loading branch information
vishnu-khanth committed Nov 12, 2024
1 parent 27fc061 commit a64f1a4
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ TEST(
SysmanInitTests,
GivenSysmanInitializedFirstViaZesInitAndCoreInitializedNextWithSysmanFlagEnabledWhenSysmanApiZesDeviceEnumFrequencyDomainsIsCalledWithCoreToSysmanMappedHandleThenSuccessIsReturned) {

// to be changed

static char sys_env[] = "ZES_ENABLE_SYSMAN=1";
putenv(sys_env);

Expand All @@ -171,7 +169,6 @@ TEST(
zeDeviceGetProperties(ze_devices[0], &properties));

zes_uuid_t uuid = {};
// copying UUID of core handle
memcpy(uuid.id, properties.uuid.id, ZE_MAX_DEVICE_UUID_SIZE);
std::vector<zes_driver_handle_t> zes_drivers = get_zes_drivers();

Expand Down Expand Up @@ -283,7 +280,6 @@ TEST(
zeDeviceGetProperties(ze_devices[0], &properties));

zes_uuid_t uuid = {};
// copying UUID of core handle
memcpy(uuid.id, properties.uuid.id, ZE_MAX_DEVICE_UUID_SIZE);
std::vector<zes_driver_handle_t> zes_drivers = get_zes_drivers();

Expand Down Expand Up @@ -317,7 +313,6 @@ TEST(
zeDeviceGetProperties(ze_devices[0], &properties));

zes_uuid_t uuid = {};
// copying UUID of core handle
memcpy(uuid.id, properties.uuid.id, ZE_MAX_DEVICE_UUID_SIZE);
std::vector<zes_driver_handle_t> zes_drivers = get_zes_drivers();

Expand Down

0 comments on commit a64f1a4

Please sign in to comment.