Skip to content

remove no-effect HWLOC stuff - #2060

Merged
yhmtsai merged 3 commits into
developfrom
remove_hwloc
Aug 6, 2026
Merged

remove no-effect HWLOC stuff#2060
yhmtsai merged 3 commits into
developfrom
remove_hwloc

Conversation

@yhmtsai

@yhmtsai yhmtsai commented Aug 5, 2026

Copy link
Copy Markdown
Member

This PR removes the HWLOC usage in Ginkgo, which has been mentioned no-effect in #1513
It changes num_computing_units to 1 for Reference but omp_get_max_threads for Omp.
num_pu_per_cu is 1 for both cases.
It removes the machine_topology and the corresponding interfaces in Executor.

In future, if we need to bring this back to Ginkgo, binding to cores might have issues when assigning partial cores from slurm.

@yhmtsai yhmtsai self-assigned this Aug 5, 2026
@yhmtsai yhmtsai added the is:interface-breaking This change may break interface compatibility. Can only be done through a major release. label Aug 5, 2026
@ginkgo-bot ginkgo-bot added reg:build This is related to the build system. reg:testing This is related to testing. reg:ci-cd This is related to the continuous integration system. reg:documentation This is related to documentation. mod:core This is related to the core module. mod:cuda This is related to the CUDA module. mod:hip This is related to the HIP module. mod:dpcpp This is related to the DPC++ module. labels Aug 5, 2026
@yhmtsai
yhmtsai requested review from MarcelKoch and pratikvn August 5, 2026 13:05
@yhmtsai yhmtsai added the 1:ST:ready-for-review This PR is ready for review label Aug 5, 2026

@MarcelKoch MarcelKoch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. I think it should also be mentioned in the interface break doc.

Comment thread include/ginkgo/core/base/executor.hpp Outdated
@yhmtsai yhmtsai added 1:ST:ready-to-merge This PR is ready to merge. and removed 1:ST:ready-for-review This PR is ready for review labels Aug 5, 2026
@yhmtsai
yhmtsai merged commit 6c3cc58 into develop Aug 6, 2026
18 of 23 checks passed
@yhmtsai
yhmtsai deleted the remove_hwloc branch August 6, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1:ST:ready-to-merge This PR is ready to merge. is:interface-breaking This change may break interface compatibility. Can only be done through a major release. mod:core This is related to the core module. mod:cuda This is related to the CUDA module. mod:dpcpp This is related to the DPC++ module. mod:hip This is related to the HIP module. reg:build This is related to the build system. reg:ci-cd This is related to the continuous integration system. reg:documentation This is related to documentation. reg:testing This is related to testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants