-
Notifications
You must be signed in to change notification settings - Fork 119
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
Cuda compile error visual studio 2015 #75
Comments
The error seems to be coming from a boost header. I don't have access to a Windows machine with CUDA, but Specifically, I don't see where an unmatched parenthesis could come from. So, could this be an nvcc bug or a faulty boost installation? |
I faced this too. It's hard to understand why it happens... |
I don't have the means to reproduce this, but it looks like it is an issue with nvcc and boost, similar to this stackoverflow question: Since recently, amgcl does only require boost for the runtime interface, and even then, it only depends on the |
Correction: |
Is there any way to go boost free on .cu files ?, so it can compile great, I can have another file with .cpp extension and it won't cause any problems I'm currently testing typedef amgcl::backend::cuda<double> Backend;
typedef amgcl::make_solver<
amgcl::amg<
Backend,
amgcl::coarsening::smoothed_aggregation,
amgcl::relaxation::ilu0
>,
amgcl::solver::bicgstab<Backend>
> Solver; |
Boost is used in Can you try and compile the amgcl examples using the provided cmake files? To go Boost-free you need to define |
For sure, let me test and come back |
The issue was solved on the last version for development branch for boost preprocessor. Refer to the follogin ticket if anyone still stuck on the same compilation problem Boost preprocessor issue 37 |
Thanks for the help. I think this one can be closed @ddemidov |
I have problems getting the solver_cuda project to compile, I am using cuda 9.1 and VS 2015, seems to be something with nvcc not handling c++ files correctly, error output:
Any clues to a fix to this problem? The ordinary solver c++ project compiles and build just fine!
The text was updated successfully, but these errors were encountered: