-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Fix compilation issues with CUDA 9.1 #2212
Conversation
23f4c49
to
131bc74
Compare
I haven't built all the stuff in the GPU module but the fix is similar for all. The operator needs to be defined with a const argument. I also added some modifications to suppress the deprecations messages that started popping up. Inspired from here facebookarchive/caffe2@78fbcaa |
I can also confirm this PR fixes the compilation problem with CUDA 9.1 on Ubuntu 16.04 for me. Look forward to see this getting merged! |
Same here, compiles fine 16.04 + Edit: turned out I have CUDA 9.0. |
This doesn't break anything for me on Windows but I wasn't able to get anyone on Linux or OS X to try it so far. |
I'm not sure we're gonna get many OSX users on this. Macbooks stopped shipping Nvidias a while back. I did hear recently that some support was added for running external cards but there's been no report whatsoever from our users in this configuration. Just out of completeness @fran6co you wouldn't happen to be running an OSX with an Nvidia card to give it a try to this thing would you? I'll ask around the mailing list as well. |
@SergioRAgostinho sorry, I don't have a Nvidia card to give it a test. |
I have a coworker working on a Mac with a nVidia card, I'll ask her to try it out if she has the time. |
@SergioRAgostinho, MacOS 10.13.4 Beta with CUDA 9.1 build was okay |
I tested on Ubuntu 16.04 LTS x64 with CUDA 9.1. It works. |
@PointCloudLibrary/maintainers need a merge on this please. |
Superseeds and closes #2208, fixes #2207.
This allows compilation for me in CUDA 9.1 and CUDA 8.0.
@taketwo @cmcmurrough @Robzz please give it a try.
Edit: Not ready yet. Found more errors of the same type.