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

Assorted fixes for CUDA #3246

Merged
merged 3 commits into from Mar 23, 2018
Merged

Assorted fixes for CUDA #3246

merged 3 commits into from Mar 23, 2018

Conversation

gentryx
Copy link
Member

@gentryx gentryx commented Mar 20, 2018

Fixes #2911

@hkaiser
Copy link
Member

hkaiser commented Mar 20, 2018

Why is adding an else case solving a compiler warning? I don't get that.

@gentryx
Copy link
Member Author

gentryx commented Mar 21, 2018

NVCC was complaining that the trailing return statements were unreachable. I guess this is because nvcc is a little over zealous for analyzing const expressions? I agree that it doesn't make much sense, it doesn't hurt either, though.

@gentryx
Copy link
Member Author

gentryx commented Mar 22, 2018

Huh, any idea why CircleCI would fail? This particular issue (docker login failing) doesn't seem to be related to my change.

@hkaiser
Copy link
Member

hkaiser commented Mar 22, 2018

@gentryx it decided to run on your circleci account (no idea why), so it can't access our (CI) environment variables (like the docker credentials).

@gentryx
Copy link
Member Author

gentryx commented Mar 22, 2018

Hmm, I remember similar issues from the past.

Anyway, is there any blocker to merge this?

@msimberg
Copy link
Contributor

I don't mind merging this, but it does undo some clang-tidy warnings that were fixed in #3154, which will come back next time someone decides to run clang-tidy. Being able to successfully compile is more important than being clang-tidy though.

What version of NVCC were you using? How much of HPX did you try to compile?

@gentryx
Copy link
Member Author

gentryx commented Mar 22, 2018

Necessary for compilation is only the change to hpx/runtime/components/server/managed_component_base.hpp.

The other changes are just to make nvcc compile without issuing tons of warnings. So, I should be good if someone ran clang-tidy in the future. :-)

@gentryx
Copy link
Member Author

gentryx commented Mar 22, 2018

I'm using CUDA 9.1.85, I was compiling from HPX only what's required by LibGeoDecomp. Not sure which parts that are exactly.

@gentryx
Copy link
Member Author

gentryx commented Mar 23, 2018

PTAL

@hkaiser
Copy link
Member

hkaiser commented Mar 23, 2018

@gentry: @msimberg is the master of ceremonies for the upcoming release - he will decide whether this should go in or not.

@msimberg
Copy link
Contributor

Thanks! Will add this to the release.

@msimberg msimberg merged commit 59d4ce3 into STEllAR-GROUP:master Mar 23, 2018
@msimberg msimberg added this to the 1.1.0 milestone Mar 23, 2018
@gentryx
Copy link
Member Author

gentryx commented Mar 23, 2018

Thanks! :-)

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

3 participants