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

Changing default bind mode to balanced #2180

Merged
merged 1 commit into from May 25, 2016
Merged

Changing default bind mode to balanced #2180

merged 1 commit into from May 25, 2016

Conversation

sithhell
Copy link
Member

This fixes #2015

@@ -679,7 +679,7 @@ namespace hpx { namespace util
affinity_domain_ = detail::handle_affinity(cfgmap, vm, "pu");
ini_config += "hpx.affinity=" + affinity_domain_;

affinity_bind_ = detail::handle_affinity_bind(cfgmap, vm, "");
affinity_bind_ = detail::handle_affinity_bind(cfgmap, vm, "balanced");
if (!affinity_bind_.empty())
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the empty check still have a purpose since you've set a balanced default?

Copy link
Member Author

Choose a reason for hiding this comment

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

On 05/25/2016 11:41 AM, John Biddiscombe wrote:

In src/util/command_line_handling.cpp
#2180 (comment):

@@ -679,7 +679,7 @@ namespace hpx { namespace util
affinity_domain_ = detail::handle_affinity(cfgmap, vm, "pu");
ini_config += "hpx.affinity=" + affinity_domain_;

  •    affinity_bind_ = detail::handle_affinity_bind(cfgmap, vm, "");
    
  •    affinity_bind_ = detail::handle_affinity_bind(cfgmap, vm, "balanced");
     if (!affinity_bind_.empty())
    

Does the empty check still have a purpose since you've set a balanced
default?

Good catch!


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/STEllAR-GROUP/hpx/pull/2180/files/ddd1295164834781cdedaf198b85db7b098a7a95#r64543813

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.

Change default bind-mode to balanced
2 participants