Skip to content

[UR] Remove UMF_DISABLE_HWLOC flag #17676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

PatKamin
Copy link
Contributor

@PatKamin PatKamin commented Mar 27, 2025

This flag will be removed from UMF. Either hwloc installed in the system is used or it's fetched if not found.

Ref.: #15261

@PatKamin PatKamin marked this pull request as ready for review March 27, 2025 11:02
@PatKamin PatKamin requested review from a team as code owners March 27, 2025 11:02
@PatKamin
Copy link
Contributor Author

@intel/unified-runtime-reviewers, please review. All tests passed.

@RossBrunton
Copy link
Contributor

Does this change mean that hwloc is a mandatory part of UMF and building without it is no longer supported?

@@ -53,7 +53,6 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug
-DUR_BUILD_TESTS=OFF
-DUR_FORMAT_CPP_STYLE=ON
-DUMF_DISABLE_HWLOC=ON
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it not faster to just fetch hwloc via apt-get rather than building it ourself?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good point, I'll add the package.

@PatKamin
Copy link
Contributor Author

Does this change mean that hwloc is a mandatory part of UMF and building without it is no longer supported?

Yes, the option for disabling hwloc support in UMF will be removed as it will be a mandatory part of UMF. The user would have to either have hwloc installed or UMF will fetch it.

This flag will be removed from UMF and the libhwloc-dev library will not
be an option but the requirement.
@PatKamin PatKamin force-pushed the remove-disable-hwloc-flag branch from 8341005 to fefcb3c Compare March 27, 2025 13:39
@PatKamin
Copy link
Contributor Author

PatKamin commented Mar 27, 2025

@intel/dpcpp-devops-reviewers, please review. It seems like the Battlemage workflows failures are unrelated to changes from this PR.

@sarnex sarnex merged commit ca2af37 into intel:sycl Mar 27, 2025
39 of 43 checks passed
@PatKamin PatKamin deleted the remove-disable-hwloc-flag branch April 9, 2025 05:09
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