Skip to content

Applying integration of NastyMPI CI build #189

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 10 commits into from
Dec 7, 2016

Conversation

fuchsto
Copy link
Member

@fuchsto fuchsto commented Dec 7, 2016

No description provided.

if (nullptr != m_globmem) {
m_globmem->flush_all();
}
if (nullptr != m_team && *m_team != dash::Team::Null()) {
Copy link
Member

Choose a reason for hiding this comment

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

Can m_team ever be a nullptr? It seems to be initialized from a dash::Team reference in all c'tors.

Copy link
Member Author

Choose a reason for hiding this comment

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

Currently yes, but it's a pointer, so I check it. Members can be specified by lots of operations and checking for nullptr is more robust than validating every possible member assignment.
Also, it's in Array::barrier() so it's not like the test will have a say in performance.

Copy link
Member Author

Choose a reason for hiding this comment

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

... also, most lint tools would otherwise nag about this.

@fuchsto
Copy link
Member Author

fuchsto commented Dec 7, 2016

@devreal @fmoessbauer @rkowalewski

See my comments in #184

Please review and merge.
Please do not use squash merge as every commit refers to a separate logical block of changes.

@devreal
Copy link
Member

devreal commented Dec 7, 2016

No objections from my side.

Copy link
Member

@fmoessbauer fmoessbauer left a comment

Choose a reason for hiding this comment

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

Looks Ok to me. However calculations involving dash::myid() have to be explicit casted to e.g. int. And GlobMemTest.ConstructorInitializerList fails in CI

local_range[l] = ((dash::myid() + 1) * 1000) + l;
}
array.barrier();

// Block- and global offset of target range:
auto block_offset = _dash_size - 1 - dash::myid();
Copy link
Member

Choose a reason for hiding this comment

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

This holds until #186 is merged

Copy link
Member Author

Choose a reason for hiding this comment

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

Requested change is in scope of #186, not this PR

@rkowalewski
Copy link

Looks fine to me!

@rkowalewski rkowalewski merged commit 7810840 into development Dec 7, 2016
@fuchsto fuchsto deleted the feat-52-dev-nastympi branch December 21, 2016 05:45
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.

4 participants