Skip to content

Conversation

viki435
Copy link
Contributor

@viki435 viki435 commented Aug 25, 2025

Primary JIRA: VLCLJ-2513
Sub-tasks: VLCLJ-2570, VLCLJ-2568, VLCLJ-2577
Fix: Handling GTEST_FAIL logic for multi-device scenario for power, performance and scheduler modules.

…erformance and scheduler modules.

Primary JIRA: VLCLJ-2513
Sub-tasks: VLCLJ-2570, VLCLJ-2568, VLCLJ-2577

Signed-off-by: viki435 <[email protected]>
@viki435 viki435 requested a review from vishnu-khanth August 25, 2025 09:32
@vishnu-khanth vishnu-khanth requested a review from Copilot August 25, 2025 09:53
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes GTEST_FAIL logic for handling multi-device scenarios in power, performance, and scheduler test modules. The changes ensure that tests only fail when no handles are found across all devices, rather than failing when a single device lacks support.

  • Updated test classes to track feature support across devices with boolean flags
  • Modified failure logic to accumulate support status and only fail if no devices support the feature
  • Improved logging to provide clearer information about device-specific support status

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
test_sysman_scheduler.cpp Added is_scheduler_supported flag and updated all test functions to track support across devices
test_sysman_power.cpp Added is_power_supported flag and updated all test functions to track support across devices
test_sysman_performance.cpp Added is_performance_supported flag and updated all test functions to track support across devices

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@vishnu-khanth
Copy link
Contributor

LGTM!

@viki435
Copy link
Contributor Author

viki435 commented Aug 25, 2025

Refer #273 for comments.

@narenbagria narenbagria merged commit 9e77129 into oneapi-src:master Aug 25, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants