Skip to content
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

Resource manager fixes #2623

Merged
merged 6 commits into from May 24, 2017
Merged

Resource manager fixes #2623

merged 6 commits into from May 24, 2017

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented May 11, 2017

A couple of fixes I had lying around for a while in my local copy of the repository.

This improves the behavior of the resource-manager in cases where the user requests more resources than available.

- adding missing code
- adding test
- thread_pool_executors now report real number of assigned cores
- flyby changes necessary to make HPXrx work

# Conflicts:
#	hpx/runtime/threads/detail/scheduling_loop.hpp
# Conflicts:
#	hpx/runtime/threads/detail/scheduling_loop.hpp
{
for (int i = 0; i != num_tasks; ++i)
{
traits::apply_execute(exec,
Copy link
Member

Choose a reason for hiding this comment

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

could this use the new executor interface instead?

{
for (int i = 0; i != num_tasks; ++i)
{
traits::apply_execute(exec,
Copy link
Member

Choose a reason for hiding this comment

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

could this use the new executor interface instead?

@hkaiser
Copy link
Member Author

hkaiser commented May 20, 2017

@sithhell Your comments have been addressed.

Copy link
Member

@sithhell sithhell left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM now.

@hkaiser hkaiser merged commit 52651c7 into master May 24, 2017
@hkaiser hkaiser deleted the Resource_manager_fixes branch May 24, 2017 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants